iyorshe
Posts: 2
|
Posted: 12/01/2009, 2:16 AM |
|
can anybody help me
please i am trying 2 send email using this code and it is not working
ahe giving me this error to initialise starttls
here is code below
set Mailer = server.CreateObject("persits.MailSender")
Mailer.From = "support@softsmartsolutions.com"
Mailer.FromName = "Softsmart Business Solutions"
Mailer.Host = "smtp.gmail.com"
Mailer.username = " "
Mailer.password = " "
Mailer.IsHTML = True
Mailer.Subject = "Testing the email codes for employees reg at "&time() ' setting up the email's subject
Mailer.AddAddress "david.meshak@softsmartsolutions.com","David Meshak" ' setting up the reciever's email and name
Mailer.AddCC "david.meshak@softsmartsolutions.com","David Meshak"
Mailer.AddCC "smartbamshak@gmail.com","Bamshak"
' the major email body "gong gong" starts from here
Mailer.Body
|
|
|
Edd
Posts: 547
|
Posted: 12/01/2009, 4:47 AM |
|
GMail is not an SMTP provider.
Look out your ISP to see your SMTP instance.
It you use outlook look at the mail account for information.
Cheers
_________________
Accepting and instigating change are life's challenges.
http://www.syntech.com.au |
|
|
|