using google/hotmail/ yahoo api to send mail instead smtp |
I think it's very bad practice (and I mean, really really bad) to ask a user of your website / application to hand over their password for their gmail account. I would never trust any service that requires that. Think about all the things that you could potentially do with such access, you would have access to to the users Google Wallet, can setup a seperate adwords campaign on their account for your own website etc etc etc.
I think the problem you are facing is that (luckily) more and more users turn on 2-step authentication to their accounts. Why not send email from [email protected] and set the reply-to field to the gmail address of your user? That way you dont need a password, you are not dependend of the SMTP server your client uses etc. If you realy need to, you should do it trough the Gmail API: https://developers.google.com/gmail/api/guides/?hl=nl "The Gmail API is a RESTful API that can be used to access Gmail mailboxes and send mail." |
Messages In This Thread |
using google/hotmail/ yahoo api to send mail instead smtp - by tarek009187 - 12-12-2016, 05:17 AM
RE: using google/hotmail/ yahoo api to send mail instead smtp - by tarek009187 - 12-19-2016, 10:22 AM
RE: using google/hotmail/ yahoo api to send mail instead smtp - by Diederik - 12-20-2016, 04:56 AM
RE: using google/hotmail/ yahoo api to send mail instead smtp - by tarek009187 - 12-20-2016, 05:36 AM
RE: using google/hotmail/ yahoo api to send mail instead smtp - by tarek009187 - 12-20-2016, 09:28 AM
RE: using google/hotmail/ yahoo api to send mail instead smtp - by Diederik - 12-20-2016, 01:04 PM
RE: using google/hotmail/ yahoo api to send mail instead smtp - by tarek009187 - 12-20-2016, 10:17 PM
|