LebronJames
Programmer
- Apr 5, 2003
- 93
How do I send out 4 emails at one time using ASPMAIL SMTPsvg.Mailer?
Set Mailer = Server.CreateObject("SMTPsvg.Mailer")
Mailer.RemoteHost = "mailhost.localisp.net""
Mailer.FromAddress = Request("txtEmailAdd")
Mailer.AddRecipient "", Request("txtEmailAdd")
Mailer.Subject = "Email 1"
Mailer.BodyText = "This is email # 1"
Set Mailer = Server.CreateObject("SMTPsvg.Mailer")
Mailer.RemoteHost = "mailhost.localisp.net""
Mailer.FromAddress = Request("txtEmailAdd")
Mailer.AddRecipient "", Request("txtEmailAdd")
Mailer.Subject = "Email 2"
Mailer.BodyText = "This is email # 2"
Set Mailer = Server.CreateObject("SMTPsvg.Mailer")
Mailer.RemoteHost = "mailhost.localisp.net""
Mailer.FromAddress = Request("txtEmailAdd")
Mailer.AddRecipient "", Request("txtEmailAdd")
Mailer.Subject = "Email 3"
Mailer.BodyText = "This is email # 3"
Set Mailer = Server.CreateObject("SMTPsvg.Mailer")
Mailer.RemoteHost = "mailhost.localisp.net""
Mailer.FromAddress = Request("txtEmailAdd")
Mailer.AddRecipient "", Request("txtEmailAdd")
Mailer.Subject = "Email 4"
Mailer.BodyText = "This is email # 4"
Set Mailer = Server.CreateObject("SMTPsvg.Mailer")
Mailer.RemoteHost = "mailhost.localisp.net""
Mailer.FromAddress = Request("txtEmailAdd")
Mailer.AddRecipient "", Request("txtEmailAdd")
Mailer.Subject = "Email 1"
Mailer.BodyText = "This is email # 1"
Set Mailer = Server.CreateObject("SMTPsvg.Mailer")
Mailer.RemoteHost = "mailhost.localisp.net""
Mailer.FromAddress = Request("txtEmailAdd")
Mailer.AddRecipient "", Request("txtEmailAdd")
Mailer.Subject = "Email 2"
Mailer.BodyText = "This is email # 2"
Set Mailer = Server.CreateObject("SMTPsvg.Mailer")
Mailer.RemoteHost = "mailhost.localisp.net""
Mailer.FromAddress = Request("txtEmailAdd")
Mailer.AddRecipient "", Request("txtEmailAdd")
Mailer.Subject = "Email 3"
Mailer.BodyText = "This is email # 3"
Set Mailer = Server.CreateObject("SMTPsvg.Mailer")
Mailer.RemoteHost = "mailhost.localisp.net""
Mailer.FromAddress = Request("txtEmailAdd")
Mailer.AddRecipient "", Request("txtEmailAdd")
Mailer.Subject = "Email 4"
Mailer.BodyText = "This is email # 4"