Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
TurgayK  
#1 Posted : Friday, March 25, 2022 1:02:16 AM(UTC)
TurgayK

Rank: Newbie

Groups: Registered
Joined: 3/24/2022(UTC)
Posts: 1

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  
#2 Posted : Wednesday, April 6, 2022 12:15:14 AM(UTC)
ivan

Rank: Administration

Groups: Administrators
Joined: 11/11/2010(UTC)
Posts: 1,153

Thanks: 9 times
Was thanked: 55 time(s) in 55 post(s)
You can download the latest version from our site, this issue has been fixed in the new version.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.057 seconds.

EXPLORE TUTORIALS

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