Does the Gmail API use encryption when sending emails?
Is there a better SO board to post this question on? I will move it if so.
(1) All requests between your client and the Gmail API are over HTTPS, which is encrypted.
(2) For calls like message.send() that generate an email to leave Google and go to another recipient, Google will do the same logic of attempting to send using encryption as when the user sends an email through web or mobile client. However unless your user is a GSuite user that has the "only send encrypted" policy enabled, the email sending may fallback to unencrypted if the remote side does not support encryption. For normal Gmail users if the remote side doesn't support encryption it may be delivered over plain text.
(3) If you want end-to-end encryption something like S/MIME or PGP is best.
(4) There's a new "STS" email standard that came out that Google supports that is a way for email providers to publish whether they require encryption to receive the email, which Gmail supports. When other providers also start publishing their STS records Gmail will respect it (and require encrypted transit to deliver those messages) Gmail STS
Related
I want to create a gallery app which is automatically feed by emails. When you register on the app I will provide an email pseudo#domain.com When you send a picture to this email you will receive a push notification and then fetch the image when the app will be open.
To do so, I think about an smtp server (like https://github.com/docker-mailserver/docker-mailserver) and a spring boot to listen all emails (via imap or pop). When an email is received, I will check the from to find the user concerned, save the image until the user open the app to fetch it.
I saw some lib to have an embedded smtp server in a spring boot app (https://github.com/voodoodyne/subethasmtp). But if I understand well it's only for testing.
I didn't find so much information and use case. So maybe I have a bad approach, and read all email from a domain is not a good practice. Do you have some documentation about this ?
How to use different sender address in sending emails in Laravel. What i want is to send some emails from one email id and some mails from second email id but gmail is picking up every time the configuration done in env not from mailable class.
You can't replace sender with Google SMTP service.
Google rewrites the From and Reply-To headers in messages you send via it's SMTP service to values which relate to your gmail account.
GMail does allow sending via different addresses or alias but this is for sending via the GMail web app, see Here
If you own the domain you are supposedly sending from, use the Gmail for Domains , and setup a "myapp#mydomain.com" account.
Or, use another SMTP provider
I want to send an e-mail using gmail API.
I want to know if the email was received successfully. And if not, what the problem. (Such as SMTP Log)
I can use Google Admin G-Suite if need.
How can I do it?
Thank you.
What you are looking for is Request read receipt after an email is sent. This would notify the sender when the recipient reads the email.
This is not something that is currently available in the gmail api. you may want to consider submitting a feature request here
We've been using Mandrill for years to deploy our app's signup confirmation and password reset emails. This has worked perfectly as we've had SPF and DKIM records added to the DNS configuration according to Mandrill's documentation for verifying sending domains.
However, after merging the Mandrill account with a new Mailchimp account--which is mandated by April 27th--it's requiring me to send a verification email to an address at that domain. The problem is that we don't have a mail server set up to receive emails. The domain is only used to send the "noreply#domain.com" emails.
Any ideas on how I might resolve this? Mailchimp is not giving an option to undo the merge, so effectively I have an app that users are not able to sign up for at the moment, which is problematic to say the least.
You'll want to configure at least one mailbox on that domain somehow to receive mail. That's the only way to confirm ownership of the domain.
I would like to know if there is a service out there which can give me imap settings for a given email address. Thunderbird and Android mail clients does a good job if fetching the imap setting automatically when you give the email address.
If you are using popular mail provider (gmail,hotmail, etc) The imap settings are just chosen based on the domain of the email.
If you have your own server, it can't fetch the settings.
To continue on Lauri's answer., it can guess. If you have an email at #example.com, it will try common things like, mail.example.com, imap.example.com, pop.example.com, smtp.example.com. etc. It's all heuristics.