| Dart Home | PowerTCP Mail for ActiveX | Custom Development | Reply | PowerTCP Mail for ActiveX Topics | Forums |
| Author | Forum: PowerTCP Mail for ActiveX Topic: How to send to more than one email address |
| User204 From: Jamestown, NC USA Posts: 19 Member Since: 02/01/02 |
posted April 27, 2007 2:40 PM The VB6 samples: SMTPmail and QuickSend, when I enter two emails separated by either a comma or a semicolon I get an error and will not send. If remove all back down to one email address it works. Is is possible to enter more than one email address in the TO field? |
| Arjun From: Rome, NY, USA Posts: 137 Member Since: 09/17/07 |
posted February 4, 2008 5:18 PM Hello, With regards to the query I tried to enter two email addresses in the To field separated by a comma in the SMTPClient sample and it worked as expected. You may try the following code and share your observations: Smtp1.Login "server" ', , "username", password Dim i As Integer Smtp1.Message.To.Add "test1@abc.com,test2@abc.com" Smtp1.From = "test@abc.com" Smtp1.Message.Subject = "Test" Smtp1.Message.Text = "Test" Smtp1.Send Smtp1.Logout Also I would request you to make sure that you are using the version 2.9.1.0 or higher of the control as it was an issue with the previous versions. I hope this helps. Have a great day. Regards, Arjun |
| Reply | PowerTCP Mail for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|