/mail/community?hl=en
This content is likely not relevant anymore. Try searching or browse recent questions.
-
Cannot send email from embedded device using Gmail SMTP server 0 Recommended Answers 2 Replies 47 Upvotes
1 Recommended Answer
$0 Recommended Answers
1 Relevant Answer
$0 Relevant Answers
Have tried all sorts of combinations of commands to the SMTP server, various two factor authentication options and "App" passwords under Gmail security settings without luck.  Server replies with a few binary bytes and then hangs up when I sent the user name.  Does anyone know how to interpret this (0x15, 0x03, 0x01, 0x00, 0x02, 0x02, 0x46) response?  I've tried variations on user name format, AUTH PLAIN, AUTH LOGIN... I am thinking this has to be a security issue but I've tried everything I could think of.

16:00:23.151 -> 220 smtp.gmail.com ESMTP j7sm7455045qkd.46 - gsmtp
16:00:23.151 -> Sending HELO
16:00:23.220 -> 250-smtp.gmail.com at your service, [73.216.120.145]
16:00:23.220 -> 250-SIZE 35882577
16:00:23.220 -> 250-8BITMIME
16:00:23.254 -> 250-STARTTLS
16:00:23.254 -> 250-ENHANCEDSTATUSCODES
16:00:23.254 -> 250-PIPELINING
16:00:23.254 -> 250-CHUNKING
16:00:23.254 -> 250 SMTPUTF8
16:00:23.254 -> Sending STARTTLS
16:00:23.289 -> 220 2.0.0 Ready to start TLS
16:00:23.289 -> Sending AUTH PLAIN
16:00:23.323 -> byte received from server (hex):15
16:00:23.323 ->
16:00:23.323 -> byte received from server (hex):3
16:00:23.323 ->
16:00:23.323 -> byte received from server (hex):1
16:00:23.323 ->
16:00:23.323 -> byte received from server (hex):0
16:00:23.323 ->
16:00:23.358 -> byte received from server (hex):2
16:00:23.358 ->
16:00:23.358 -> byte received from server (hex):2
16:00:23.358 ->
16:00:23.358 -> byte received from server (hex):46
16:00:23.358 ->
16:00:23.358 ->
16:00:23.358 ->
16:00:23.358 -> Success: AUTH PLAIN good response from server
16:00:23.358 -> Sending User
16:00:54.186 ->
16:00:54.186 -> Timeout
16:00:54.186 ->
16:00:54.186 ->
16:00:54.186 -> Error: Sending User failed
Most Relevant Answer Most Relevant Answers (0)
All Replies (2)
Most Relevant Answer
Hi Augie, there are some account settings that are necessary for you to send through it using SMTP.

If you have two-step verification enabled on the account, you will need to use an application specific password (created in the Gmail account) in the device settings: Signing in using application-specific passwords

If not, please try this: sign into the Gmail account using a web browser at https://mail.google.com, then go to Settings > Accounts and Import > Other Google Account settings.  Under Security, scroll down and enable access for less secure apps. This setting is required to enable SMTP, POP or IMAP access.

If there is still a problem, try clearing Captcha: visit https://accounts.google.com/DisplayUnlockCaptcha and sign in with the Gmail username and password.  If necessary (it's usually not), enter the letters in the distorted picture then press Continue. This will allow ten minutes for the device to register as an approved connection.  Note that you must use the account you are trying to add to the device - if the browser is already signed into another account, you must sign out first. Also, you must trigger the device to make a connection within ten minutes of pressing Continue.
marked this as an answer
Most relevant based on info available
-
Most Relevant Answer
Keith: Thanks for writing back but I gave up after a couple of hours, I have tried what you suggested except for clearing Captcha.  I am successfully using smtp2go for emails from the ESP8266 controller, that took a fair amount of effort but I am guessing security is behind all this, "in the good 'ole days" (when we were naive about criminal behavior on the Internet) you could just telnet......
marked this as an answer
Most relevant based on info available
This question is locked and replying has been disabled.
Discard post? You will lose what you have written so far.
Write a reply
10 characters required
Failed to attach file, click here to try again.
Discard post?
You will lose what you have written so far.
Personal information found

We found the following personal information in your message:

This information will be visible to anyone who visits or subscribes to notifications for this post. Are you sure you want to continue?

A problem occurred. Please try again.
Create Reply
Edit Reply
Delete post?
This will remove the reply from the Answers section.
Notifications are off
Your notifications are currently off and you won't receive subscription updates. To turn them on, go to Notifications preferences on your Profile page.
Report abuse
Google takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.

Go to the Legal Help page to request content changes for legal reasons.

Reported post for abuse
Unable to send report.
Report post
What type of post are you reporting?
Google takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.

Go to the Legal Help page to request content changes for legal reasons.

Reported post for abuse
Unable to send report.
This reply is no longer available.
/mail/threads
//accounts.google.com/ServiceLogin
You'll receive email notifications for new posts at
Unable to delete question.
Unable to update vote.
Unable to update subscription.
You have been unsubscribed
Deleted
Unable to delete reply.
Removed from Answers
Marked as Recommended Answer
Removed recommendation
Undo
Unable to update reply.
Unable to update vote.
Thank you. Your response was recorded.
Unable to undo vote.
Thank you. This reply will now display in the answers section.
Link copied
Locked
Unlocked
Unable to lock
Unable to unlock
Pinned
Unpinned
Unable to pin
Unable to unpin
Marked
Unmarked
Unable to mark
Reported as off topic
/mail/profile/0?hl=en