TurgayK
  • TurgayK
  • 53% (Neutral)
  • Newbie Topic Starter
3 years ago
Hello,

I want to get where my email is sent or not. So that I set delivery notif.
I sent nonexistent email address to receive failed report but it raised an error.
Any ideas?

Thanks


Here is the code block :
mail.DeliveryNotification = EASendMail.DeliveryNotificationOptions.OnFailure Or EASendMail.DeliveryNotificationOptions.OnSuccess

Here is the error :

mail@domain.com : System.FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
at System.Text.StringBuilder.AppendFormatHelper(IFormatProvider provider, String format, ParamsArray args)
at System.String.FormatHelper(IFormatProvider provider, String format, ParamsArray args)
at System.String.Format(String format, Object[] args)
at EASendMail.SmtpClient.?(DeliveryNotificationOptions ?)
at EASendMail.SmtpClient.?(MailAddress ?, DeliveryNotificationOptions ?)
at EASendMail.SmtpClient.?(MailAddress ?, AddressCollection ?, DeliveryNotificationOptions ?)
at EASendMail.SmtpClient.?(MailAddress ?, AddressCollection ?)
at EASendMail.SmtpClient.SendMail(SmtpMail mail)
at EASendMail.SmtpClient.?(SmtpServer ?, SmtpMail ?)
at EASendMail.SmtpClient.SendMail(SmtpServer server, SmtpMail mail)
at EASendMail.SmtpClient.?.?()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
ivan
  • ivan
  • 100% (Exalted)
  • Administration
3 years ago
You can download the latest version from our site, this issue has been fixed in the new version.

EXPLORE TUTORIALS

© All Rights Reserved, AIFEI Software Limited & AdminSystem Software Limited.