Author: closeguy2005 | Posted on: 10/1/2008 8:57:23 AM | Views : 448


 Hi,


I store multiple email addresses in variable emailaddresses

Also, variable tot  holds value of total number of emails.



Example:


pjohn442@yahoo.co.in,friends5w5@hotmail.com,Ket@gmail.com



 


 But, at a time you can send email to only one user. smail.To.Add( )
allows to send only 1 email a time.


So i will have to write multiple  smail.To.Add( ) statements.
So , i want to add each email to smai.To.Add("") method using for loop. 
As i said, tot variable holds total number of emails.  Hence, for loop should run for tot number of times & avoid comma in between 2 emails, email should be added to smai.To.Add("")
How can i do so? please help..





...

Go to the complete details ...