I keep getting an error when sending a email....
//This is the example code
Let>SENDMAIL_STATUS=1
Let>SMTP_SSL=1
Let>SMTP_AUTH=1
Let>SMTP_USERID=[email protected]
Let>SMTP_PASSWORD=Password
Let>SMTP_PORT=465
Let>subject=Test Message
Let>me=[email protected]
Let>myname=Mr Me
Let>recipients=[email protected]
Input>body,Enter your message:
SMTPSendMail>recipients,smtp.gmail.com,me,myname,subject,body,
Message>Result of SendMail: %SMTP_RESULT%
//Resulting Message After Disconnected Is
Result of SendMail: 534 <https://accounts.google.com/signin/cont ... t=AKgnsbtX
vr8aqXJXvMXbvO-CC49y5ALACEqxR9W9JzwReoi6Z7cahlVltjQr-p9rCzf-hjrU-sUk7v
ss1INsOAX1sKGmn0bJV3vuOI5DWPMJcL3hZH_neq7lVFaIU1qF5OMJbSIsz1YW1U7ooE2c
oiYGonFTqvtX0vAgAmz6egXKeS8Qx7KS2qqCETuKn5TMV2eYjYV8Ib0TsL7e7SUymX3azc
RQRbNpCV4cPbwselw91ZbrlEViwyE> Please log in via your web browser and
then try again.
Learn more at
https://support.google.com/mail/answer/78754 w13sm8277413edk.46 - gsmtp
I was logged in to my email in a web browser as I did this
Sending Email Error Message
Moderators: JRL, Dorian (MJT support)
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Re: Sending Email Error Message
Probably need to "Allow Less Secure Apps":
https://www.google.com/settings/security/lesssecureapps
It's not "less" secure really - you're still using SSL. Just Google making us jump through security hoops.
https://www.google.com/settings/security/lesssecureapps
It's not "less" secure really - you're still using SSL. Just Google making us jump through security hoops.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
-
- Pro Scripter
- Posts: 70
- Joined: Wed Nov 08, 2017 6:54 pm
Re: Sending Email Error Message
I already did allow less secure apps and I have enabled the POP and IMAP in my gmail inbox still no emails being sent still same error message...
-
- Pro Scripter
- Posts: 70
- Joined: Wed Nov 08, 2017 6:54 pm
Re: Sending Email Error Message
I also did the installation process for the OpenSSL files but still no luck. Even if there is another working method for sending an email ill try setting that method up to. Any suggestions really. It does not necessarily have to be gmail I can open sevral email provider accounts such as outlook, yahoo etc
Re: Sending Email Error Message
hi,
your sample code worked for me, also with gmail account,
I think its possible that you mixed up the
Let>SMTP_USERID=[email protected]
and
Let>me=[email protected]
For SMTP_USERID you MUST use your own gmail account
so change to
SMTP_USERID=[email protected]
and let me= the same [email protected] or a email adress you allowed to send through your gmail account.
kind regards,
Djek
your sample code worked for me, also with gmail account,
I think its possible that you mixed up the
Let>SMTP_USERID=[email protected]
and
Let>me=[email protected]
For SMTP_USERID you MUST use your own gmail account
so change to
SMTP_USERID=[email protected]
and let me= the same [email protected] or a email adress you allowed to send through your gmail account.
kind regards,
Djek
-
- Pro Scripter
- Posts: 70
- Joined: Wed Nov 08, 2017 6:54 pm
Re: Sending Email Error Message
Thanks for your help I retried your suggestion and it worked for me finally I have the solution I need. This forum is a great way to get useful answers to any issues to do with macro scheduler. I am so glad there is a huge resource pool of knowledge here in this forum.