home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.bbs.mystic      Mystic Sysops are mystical nerds...      11,842 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 10,878 of 11,842   
   Dan Clough to All   
   Re: Password Reset email..   
   14 May 22 13:16:58   
   
   From: nospam.Dan.Clough@f1.n770.z3344.fidonet.org   
      
     Re: Re: Password Reset email..   
     By: Al DeRosa to Paul Hayton on Sat May 14 2022 06:53 am   
      
    >  PH> I'm also wondering how I will keep this option running and have been   
    >  PH> using Gmail too until now.   
      
    > I have tried their apps password, I have tried Yahoo, Hotmail all of them   
    > have done away with Less Secure apps access, nothing works.. If you figure   
    > something out let us know.. :) Thanks Paul...   
      
   Okay, I've got this sorted out.  I can send automated (from a script or a cron   
   job) emails via gmail.com still, using their "apps password".  Here are the   
   basic steps to get this working:   
      
   1. Log in to the gmail account you want to use for the emails.  Since I don't   
   want to 2-factor respond every time I login to one of my "regular" gmail   
   accounts, I created a new account, for use with this automated sending only.   
      
   2. Enable the 2-factor authentication for this account.  Somewhere under   
   "Security" in settings.   
      
   3. Also in the Security section, you'll see a choice/link for "Apps passwords".   
   Go in there, choose "Other" for the app, then give it a custom name (I chose   
   'mailx' since that's what's sending my emails). Then click "Generate" and it   
   will give you a 16-character password to use for that account.   
      
   4. Have your script or whatever (even an email app like Thunderbird I suppose)   
   log in with the account name and that new password, and it won't ask you for   
   any 2-factor stuff.   
      
   For my use (on Linux), I have a mail config file called '.mailrc' in my home   
   directory.  Part of it's contents are:   
      
   account ReminderBoy {   
   set smtp-use-starttls   
   set ssl-verify=ignore   
   set smtp=smtp://smtp.gmail.com:587   
   set smtp-auth=login   
   set smtp-auth-user=XXXXXXXX@gmail.com   
   set smtp-auth-password=XXXXXXXXXXXXXXXX   
   set from="XXXXXXXX@gmail.com (Reminder Boy)"   
   }   
      
   This "account" is referenced from a script that calls the mailing program   
   'mailx', like this:   
      
   cat report | mailx -A ReminderBoy -s "Email subject here" recipient@XXX.net   
      
   Works like a champ.  :-)   
      
   Let me know if any of you have success with this, if you would.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca