Author |
|
bfreeman Newbie
Joined: 06 July 2011
Online Status: Offline Posts: 2
|
Posted: 07 July 2011 at 8:13am | IP Logged
|
|
|
Currently having an issue sending emails with a email address containing an apostrophe.
We are able to send the message if the address is the ONLY email address we are sending to, or if they are the LAST in a list of addresses we are sending to.
The problem is if they are in the middle or at the start of the list. The emails will be sent to anyone BEFORE the person with the apostrophe, but it thinks that all addresses after it belong to that address, and fails to send them. I found this because a client of ours uses apostrophes in their addresses.
I just got the latest version of your software (6.1) and it doesn't appear this has been fixed.
It appears based on the log file that when it is breaking apart the to addresses and sending them to the smtp server, it is grouping all addresses after the one with the apostrophe as if it were part of the same address. (IE tester1@test.com;test'er2@test.com;tester3@test.com becomes <tester1@test.com> and <test'er2@test.com;tester3@test.com>)
As I eluded to above, our current work around is going to be to programmatically put the address with the apostrophe at the end of the list, but this won't work if there are two of them.
some code if you'd like (simplified from our normal, so might have missed something, important thing is the to address string):
Also note, we've tried asString, AddFromString, and using the mailbee email address objects and adding them. only difference with using the objects is it ends up with the email address with just a comma behind it, instead of all addresses following.
Code:
-----------------------------------------------------
Smtp mailer = new Smtp();
mailer.SmtpServers.Add(strSMTP);
mailer.From.AsString = "bfreeman@corporatesvcs.net";
mailer.To.AsString = "slies@corporatesvcs.net;marsha_D'archway@corporatesvcs.net;bfreeman@corporatesvcs.net";
mailer.SmtpServers[0].SmtpOptions =
MailBee.SmtpMail.ExtendedSmtpOptions.ClassicSmtpMode;
mailer.Message.Priority = MailBee.Mime.MailPriority.Normal;
mailer.Log.Enabled = true;
mailer.BodyHtmlText = "Test Email";
mailer.Send();
|
|
|
--------------------------------------------------
Log File: tried this in both the 2.0.0.6 and 6.10.2.308, same result
--------------------------------------------------
Code:
[16:23:09.82] [INFO] Assembly version: 2.0.0.6.
XXXXXXXXXXXXXXXXXXXX
[16:23:09.99] [INFO] Will submit sender and recipients.
[16:23:09.99] [SEND] MAIL FROM:<bfreeman@corporatesvcs.net>\r\n
[16:23:10.00] [RECV] 250 2.1.0 bfreeman@corporatesvcs.net....Sender OK\r\n
[16:23:10.00] [SEND] RCPT TO:<slies@corporatesvcs.net>\r\n
[16:23:10.00] [RECV] 250 2.1.5 slies@corporatesvcs.net \r\n
[16:23:10.00] [SEND] RCPT TO:<marsha_D'archway@corporatesvcs.net;bfreeman@corporatesvcs.net>\r\n
[16:23:10.00] [RECV] 501 5.5.4 Invalid Address\r\n
[16:23:10.01] [INFO] Warning: The server rejected the given recipient. The server responded: 501 5.5.4 Invalid Address.
[16:23:10.02] [INFO] Sender and recipients accepted by SMTP server. Will send message data now.
XXXXXXXXXXXXXXXXXXXX
[16:23:10.26] [INFO] Message successfully submitted to SMTP server.
[16:23:10.26] [SEND] QUIT\r\n
XXXXXXXXXXXXXXXXXXXX
[16:23:10.28] [INFO] Mail message sent.
|
|
|
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 08 July 2011 at 3:03am | IP Logged
|
|
|
We answered you in HelpDesk where you had originally posted your inquiry.
Regards,
Alex
|
Back to Top |
|
|
bfreeman Newbie
Joined: 06 July 2011
Online Status: Offline Posts: 2
|
Posted: 08 July 2011 at 6:28am | IP Logged
|
|
|
Quote:
To proceed with this, make sure you have valid product maintenance, you can renew one at:
http://www.afterlogic.com/maintenance-renewal
If that one doesn't work for you, please provide us with your permanent license key so that we could check your maintenance status. Thank you. |
|
|
Our maintenance package has expired, and I've been instructed that since this is not fixed in the current version and we've not had any other problems (great product by the way), that it is likely we won't be purchasing a maintenance renewal until it is fixed.
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 13 July 2011 at 6:17am | IP Logged
|
|
|
OK, I understand.
Regards,
Alex
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 14 July 2011 at 5:15am | IP Logged
|
|
|
According to the developer in charge, the issue has been fixed. Please make sure your product maintenance is valid and contact us to get DLL update.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|