Hi,
As per Ranorex user guide: Automation Helpers- EmailModule.cs, All the required variables are bound to the parameters like- Subject, Body, To, From, ServerHostname, ServerPort, SendPdfReportOnComplete. There respective values are also provided.
but still I'm not able to send mail. It shows 'Error in processing. The server response was: 5.7.3 STARTTLS is required to send mail [PN3PR01CA0026.INDPRD01.PROD.OUTLOOK.COM] '
Please help me out of this.
Also check attached screenshot as well.
Error-
Show/Hide Stacktrace
at System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode statusCode, String response)at System.Net.Mail.MailCommand.Send(SmtpConnection conn, Byte[] command, MailAddress from, Boolean allowUnicode)at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, Boolean allowUnicode, SmtpFailedRecipientException& exception)at System.Net.Mail.SmtpClient.Send(MailMessage message)at Ranorex.AutomationHelpers.UserCodeCollections.EmailLibrary.SendEmail(String subject, String to, String from, String body, String[] attachments, String serverHostname, Int32 serverPort, Boolean useSSL, String username, String password) in c:\---\EmailLibrary.cs:line 109
Thanks
unable to send mail through Email Module
unable to send mail through Email Module
You do not have the required permissions to view the files attached to this post.
Re: unable to send mail through Email Module
Hi, looks like an Outlook error, not specific to Ranorex. There are some suggested fixes here related to the email server configuration - https://social.technet.microsoft.com/Fo ... Exch2016GD
And just to exclude one more possibility, are you running Ranorex as administrator?
And just to exclude one more possibility, are you running Ranorex as administrator?
Re: unable to send mail through Email Module
Hi,
Thanks for replying.
I had already gone through that link before posting the query. It needs Admin credentials to make changes. Raised support ticket to IT team regarding the same solution. let's see...
I'm not running Ranorex as admin.
Thanks
Thanks for replying.
I had already gone through that link before posting the query. It needs Admin credentials to make changes. Raised support ticket to IT team regarding the same solution. let's see...
I'm not running Ranorex as admin.
Thanks
Re: unable to send mail through Email Module
A couple of permission issues overall can be resolved by running Studio as admin, so if that option is available to you, it's genererally preferable.
Re: unable to send mail through Email Module
Ohk..
Thank you.
Thank you.