This is a migrated thread and some comments may be shown as answers.

Read MailA ddress

7 Answers 98 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Nicolas
Top achievements
Rank 1
Nicolas asked on 17 Dec 2010, 02:47 PM
hello,
here is another worry about planning, in fact when I plan a test I receive no mail on my outlook or even my msn box, and here is the error massage I receive:
ExecutionEngineRunner Exit Error: The string spécifié Is Not In The form required for an e-mail address. Stack: at System.Net.Mime.MailBnfHelper.ReadMailAddress (String data, Int32 & offset, String & displayName)
   
Has System.Net.Mail.MailAddress.ParseValue (String address)
   
Has System.Net.Mail.MailAddress .. ctor (String address, String displayName, Encoding displayNameEncoding)
   
Has System.Net.Mail.MailAddress .. ctor (String address, String displayName)
   
Has Telerik.WebUITestStudio.Scheduling.WindowsService.Mail.MailSender.SetSender (String email, String displayName)
   
Has Telerik.WebUITestStudio.Scheduling.WindowsService.ExecutionEngineRunner.SendMail (RunResult result, NotificationSettings settings)
   
Has Telerik.WebUITestStudio.Scheduling.WindowsService.ExecutionEngineRunner.rc_Exited (Object sender, EventArgs e)

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

7 Answers, 1 is accepted

Sort by
0
Konstantin Petkov
Telerik team
answered on 17 Dec 2010, 03:06 PM
Hello Nicolas,

Thank you for contacting us.

The exception means your email address cannot get parsed by .Net's MailAddress constructor throwing an exception. Are there any special symbols in that specific e-mail address? As specified on MSDN this is expected to fail in case of any non-ASCII characters there. Is this the case?

Regards,
Konstantin Petkov
the Telerik team
Interested in Agile Testing? Check out Telerik TV for a recording of Automated Testing in the Agile Environment
0
Nicolas
Top achievements
Rank 1
answered on 17 Dec 2010, 04:19 PM
Hello,
Thank you first for your reply:
I think this is not the case, I use either my address of company Samir.Saidi @ le118000.fr or my  personal adress samir7566@hotmail.fr to do these tests,
Regard's
0
Nikolai
Telerik team
answered on 20 Dec 2010, 07:07 AM
Hi Nicolas,

Can you please send us a screen shot of your Scheduling Server's SMTP settings ?
The problem is related to the "From" field which is taken that settings.

Greetings,
Nikolai
the Telerik team
Interested in Agile Testing? Check out Telerik TV for a recording of Automated Testing in the Agile Environment
0
Nicolas
Top achievements
Rank 1
answered on 20 Dec 2010, 09:44 AM
Hello,
I put the attached the screen shot of my Scheduling Server's SMTP settings
Regrds
0
Nikolai
Telerik team
answered on 20 Dec 2010, 10:09 AM
Hello Nicolas,

 Ok I see the error now. The problem is that you did not put Username so we are trying to use "Type ..." as sender. Can you please fill the "Username" . We will mark it as a "Mandatory" in our next release.

Regards,
Nikolai
the Telerik team
Interested in Agile Testing? Check out Telerik TV for a recording of Automated Testing in the Agile Environment
0
Nicolas
Top achievements
Rank 1
answered on 20 Dec 2010, 10:38 AM
Thanks. We considered it a username to connect to the smtp server, and not a from address. I don't know if these two can be different.

PS: Something almost unrelated: when we want to specify in the To field multiple addresses, what separator do we use?
0
Nikolai
Telerik team
answered on 20 Dec 2010, 10:43 AM
Hi Nicolas,

The mail addresses should be comma ',' separated.
Like this: test@mail.com,test1@mail.com

Greetings,
Nikolai
the Telerik team
Interested in Agile Testing? Check out Telerik TV for a recording of Automated Testing in the Agile Environment
Tags
General Discussions
Asked by
Nicolas
Top achievements
Rank 1
Answers by
Konstantin Petkov
Telerik team
Nicolas
Top achievements
Rank 1
Nikolai
Telerik team
Share this question
or