![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
![]()
I use ubuntu, but am curious if this problem occurs with Windows as well.
I used to be able to send emails to yahoo using a command line. However, both yahoo and gmail eliminated the ability for LESS SECURE APPS TO ACCESS EMAIL which stopped ssmtp(allows sending of emails) from working. (ssmtp: Authorization failed (535 5.7.0 (#AUTH005) Too many bad auth attempts.) Does that occur when trying to do so from a command prompt in Windows? Thanks, Andy |
Ads |
#2
|
|||
|
|||
![]()
On Thu, 28 May 2020 19:06:01 -0700 (PDT), Andy wrote:
I use ubuntu, but am curious if this problem occurs with Windows as well. I used to be able to send emails to yahoo using a command line. However, both yahoo and gmail eliminated the ability for LESS SECURE APPS TO ACCESS EMAIL which stopped ssmtp(allows sending of emails) from working. Gmail only considers an app to be "less secure" when the app is using one's main Google account password. Was there anything preventing one of these alternatives from being used ? (a) Use an "app password" in place of one's main Google account password when sending mail. https://support.google.com/accounts/answer/185833 or (b) Turn on "Less secure app access" in one's Google account settings. https://support.google.com/accounts/answer/6010255 2-Step-Verification must be turned on to *create* an app password, but it can be turned off again afterwards and the app password will still work. (ssmtp: Authorization failed (535 5.7.0 (#AUTH005) Too many bad auth attempts.) Does that occur when trying to do so from a command prompt in Windows? If you were specifically looking for a Windows command line program which supported OAuth2, then read this thread: https://alt.comp.os.windows-10.narkive.com/So5sqzzo/oauth2 Otherwise, either (a) or (b) above should work the same in Windows as it does in Ubuntu. -- Kind regards Ralph |
#3
|
|||
|
|||
![]()
On Fri, 29 May 2020 20:43:21 +1200, Ralph Fox
wrote: On Thu, 28 May 2020 19:06:01 -0700 (PDT), Andy wrote: I use ubuntu, but am curious if this problem occurs with Windows as well. I used to be able to send emails to yahoo using a command line. However, both yahoo and gmail eliminated the ability for LESS SECURE APPS TO ACCESS EMAIL which stopped ssmtp(allows sending of emails) from working. Gmail only considers an app to be "less secure" when the app is using one's main Google account password. Was there anything preventing one of these alternatives from being used ? (a) Use an "app password" in place of one's main Google account password when sending mail. https://support.google.com/accounts/answer/185833 or (b) Turn on "Less secure app access" in one's Google account settings. https://support.google.com/accounts/answer/6010255 2-Step-Verification must be turned on to *create* an app password, but it can be turned off again afterwards and the app password will still work. (ssmtp: Authorization failed (535 5.7.0 (#AUTH005) Too many bad auth attempts.) Does that occur when trying to do so from a command prompt in Windows? If you were specifically looking for a Windows command line program which supported OAuth2, then read this thread: https://alt.comp.os.windows-10.narkive.com/So5sqzzo/oauth2 Otherwise, either (a) or (b) above should work the same in Windows as it does in Ubuntu. It never occurred to me to try it but I wonder if there is a DOS program that will talk to an Email server. At the host end, it really only sees what you send it, no matter what software you use. You may need your own server tho and not one of those Spam generators like Google or Yahoo that probe you every time you poke at them. |
#4
|
|||
|
|||
![]() |
#5
|
|||
|
|||
![]() |
Thread Tools | |
Display Modes | |
|
|