Author |
|
talaattito Groupie
Joined: 05 October 2011 Location: Egypt
Online Status: Offline Posts: 44
|
Posted: 21 November 2011 at 5:56am | IP Logged
|
|
|
please im using mailbee.net v6.10
i make an application to Send multiple e-mails through multiple servers
My question
I put just one sender(From) e-mail or all servers username e-mails?
ex:
username servers emails : tsoft2011@yahoo.com,tsoft2011@gmail.com,tsoft2007@hotmail.com,tsoft2001@hotmail.com,tsoft2001@gmail.com,info@tsoft-it.com
what is the sender email is one only of username servers emails or all of this
and what is the best in this case where i need to fast seneding operation
and if i will use all of username servers emails is this the right format?
===>> mailer.Message.From.AsString = "tsoft2011@yahoo.com,tsoft2011@gmail.com,tsoft2007@hotmail.com,tsoft2001@hotmail.com,tsoft2001@gmail.com,info@tsoft-it.com"
if is not right format what is the right format please?
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 22 November 2011 at 2:29am | IP Logged
|
|
|
I'm not sure I fully understand the idea behind this. Be it regular mail or bulk mailing, there's only one "From" per message, you can't expect multiple From addresses to be accepted in a single mail, regardless of whether single or multiple SMTP servers used.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
talaattito Groupie
Joined: 05 October 2011 Location: Egypt
Online Status: Offline Posts: 44
|
Posted: 22 November 2011 at 3:09am | IP Logged
|
|
|
sir igor thanks for you replay
this is example may descrip my question
------------------------------------------------
Dim mailer As New Smtp()
' Use SMTP relays with authentication.
Dim server1 As SmtpServer = _
mailer.SmtpServers.Add("smtp.gmail.com", "tsoft2011@gmail.com", "secret")
Dim server2 As SmtpServer = _
mailer.SmtpServers.Add("smtp.live.com", "tsoft2007@hotmail.com", "secret")
Dim server3 As SmtpServer = _
mailer.SmtpServers.Add("smtp.mail.yahoo.com", "tsoft2011@yahoo.com", "secret")
Dim server4 As SmtpServer = _
mailer.SmtpServers.Add("smtp.live.com", "tsoft2001@hotmail.com", "secret")
server2.Priority = 1
=======================================================
============= my question in then next line ==========
what the correct and the best i use this line:
mailer.Message.From.AsString = "tsoft2011@gmail.com"
------------------------------------------
or this line:
mailer.Message.From.AsString = "tsoft2011@gmail.com,tsoft2007@hotmail.com,tsoft2011@yahoo.com,tsoft2001@hotmail.com"
=======================================================
mailer.Message.To.AsString = "Jane Doe <jane@example.com>"
mailer.Message.Subject = "Important message for Jane"
mailer.Message.BodyPlainText = "Meet me tomorrow"
mailer.Send()
i hope i descrip my question good
very thanks
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 22 November 2011 at 3:24am | IP Logged
|
|
|
I see you want to send to Gmail via Gmail's server and using Gmail's email address in From, and send to Hotmail via Hotmail's server and with @hotmail.com address.
If you want to use different From for different servers, you should use different Smtp objects for them and specify different From and different server for each of these objects.
Thus, all emails to Gmail would be sent trough Smtp instance 1, and all emails to Hotmail - through Smtp instance 2. Somewhat like that.
regards,
Alex
|
Back to Top |
|
|