| Dart Home | PowerTCP Mail for ActiveX | Custom Development | Reply | PowerTCP Mail for ActiveX Topics | Forums |
| Author | Forum: PowerTCP Mail for ActiveX Topic: Name with comma doesn't get message delivered |
| mhp From: new york, NY USA Posts: 47 Member Since: 04/24/02 |
posted August 21, 2002 4:11 PM I'm not sure if this is Dart or SMTP but if you have an address of the form: "Last Name, First Name" name@company.com in that exact format, the user will not get the email and the dart control doesn't complain. If I put that address as the CC in the email and send the email to myself, I get the message but the the other address doesn't. |
Jon Belanger![]() From: Rome, NY USA Posts: 310 Member Since: 06/10/02 |
posted August 21, 2002 4:38 PM It seemed to work fine for me I did this: smtp1.Login server Dim msg as Message msg.To.Add """LastNAme, First Name"" name@company.com" msg.From = "sender@domain.com" msg.Subject = "Testing" msg.Text = "Testing" smtp1.msg = msg smtp1.Send The only thing I can think of is that the server that receives your email that you sent to yourself and the server that receives the users email are two different servers and the later server doesn't like the name format. Are they two different servers? |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted August 21, 2002 4:44 PM It's more likely that he has an old version. If you check the debug log from the SMTP client sample, you'll see that we strip out the "fluff" before sending the RCPT TO command. In others words if I use "Last, First" test@dart.com as the "To" then what I see sent out is: RCPT TO:<test@dart.com> Make sure you have the latest Tool update from: http://www.dart.com/downloads/update.exe Also, if you are using the Mail for .NET product instead of the Mail Tool, please post the question in that forum. |
| mhp From: new york, NY USA Posts: 47 Member Since: 04/24/02 |
posted August 21, 2002 4:46 PM I should have been more specific. It only happens if the comma name is in the CC or BCC collection, not the To. I can repro it here if you'd like a copy (but you should be able to add one line to your example and see what I mean). |
| mhp From: new york, NY USA Posts: 47 Member Since: 04/24/02 |
posted August 21, 2002 5:03 PM The update fixed the problem. Thanks Tony and Jon. |
| Reply | PowerTCP Mail for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|