i wrote this code to send email and it giving an error message
Must issue a STARTTLS command first
this is the code below
set Mailer = server.CreateObject("persits.MailSender")
Mailer.From = "
[email protected]"
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 "
[email protected]","David Meshak" ' setting up the reciever's email and name
Mailer.AddCC "
[email protected]","David Meshak"
Mailer.AddCC "
[email protected]","Bamshak"
' the major email body "gong gong" starts from here
Mailer.Body