Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Using Gmail - making my application secure

by Corion (Patriarch)
on Aug 12, 2020 at 11:46 UTC ( [id://11120650]=note: print w/replies, xml ) Need Help??


in reply to Using Gmail - making my application secure

Google calls all applications "insecure" that don't use its two-factor authentication.

If you want to keep using standards like IMAP and SMTP to access email with Gmail, you will have to put up with them calling this insecure.

  • Comment on Re: Using Gmail - making my application secure

Replies are listed 'Best First'.
Re^2: Using Gmail - making my application secure
by Arik123 (Beadle) on Aug 12, 2020 at 11:49 UTC

    Do you mean there's a way to send/receive mail via Gmail without using SMTP/IMAP?

      Yes, you'd have to use the google APIs to send the mssage which involves an OAuth login.

      Good Day,
          Dean

      You can set application specific passwords for applications to use SMTP. I suspect this applies to IMAP, but my success has varied in getting email this way due to rate limiting. A more reliable approach I've found is using fetchmail with gmail to get the mail. If you wish to send many emails (even with a "gmail" address), AWS' Simple Email Service (SES) has proven super reliabe for me and is super cheap.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11120650]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (1)
As of 2024-04-25 00:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found