Unablr to send scripts by Sendmail method
- 5 years ago
Hi kaiiii ,
it seems from q cursory google search, (https://stackoverflow.com/questions/10509699/must-issue-a-starttls-command-first) that the error is related to gmail's authentication system rejeting the use of their servers for security reasons.
From the document on the builtin sendmail functions, it seems that you have to enable some features within your gamil account to use TestComplete's builtin sendmail function
(https://support.smartbear.com/testcomplete/docs/scripting/sending-email-from-scripts.html)
in the "using CDO objects section"
- 5 years ago
Hi,
yes, that's right. If You want to send mail by Gmail You need to switch this bubble on:
https://myaccount.google.com/lesssecureapps
this link will get You directly to the website (if You are logged in)
also, it's important to use this parameter when You are sending an e-mail by google:
-
SMTP: smtp.gmail.com
-
Port: 465
-
SSL: true
-
smtpconnectiontimeout: 30
-
smtpauthenticate: 1
and i think that You also need to use the second solution from this Doc:
https://support.smartbear.com/testcomplete/docs/scripting/sending-email-from-scripts.html
-