Using AWS SES with international email addresses - RFC 2047 - ruby

I'm working on a product for Japanese clients and am getting an error when trying to send to email addresses like ああ#ああ.blah.jp AWS SES (simple email service) rejects the email address:
Aws::SES::Errors::InvalidParameterValue (Local address contains control or whitespace)
The SES docs say that you need to use RFC 2047 encoding which I am. ActionMailer encodes these addresses automatically so what gets sent to SES looks like:
=?UTF-8?Q?=E3=83=A6=E3=83=BC=E3=82=B6=E3=83=BC=E6=83=85=E5=A0=B1=E3=83=A6=E3=83=BC=E3=82=B6=E3=83=BC=E6=83=85=E5=A0=B1=E3=83=A6=E3=83=BC=E3=82=B6=E3=83=BC=E6=83=85=E5=A0=B1=E3=83=A6=E3=83=BCsfd=E3=82=B6=E3=83=BC=E6=83=85=E5=A0=B1#sdfds.com?=
I don't understand why I'm getting the error.

Looks like it's not supported by SES yet. Documentation is confusing on this topic.
Duplicate of this question.

I realised that user email contained whitespace the the end. So I removed the whitespace and it starts working

Related

How can I replace the originating e-mail adress in Azure Api Management Service?

In Api Management Service, when someone subscribes to an Api, they gey a mail from a no-reply address. By default, this mail is something like "apim-noreply#mail.windowsazure.com", I changed this in de settings to "no-reply#myorganization.com".
But now when a user receives an email, both these addresses are listed as the sender address. How do I fix it to only display my custom address and remove the default one (circled in red)?
I tried looking in the mail templates to see if it was present there, but it wasn't.
I tried finding a solution in Microsoft documentation but couldn't find anything.
I understand that you wanted to change the "Mailfrom" header to a value of your choice. Currently it is not possible. The "MailFrom" header contains information about the actual sender of the email since APIM sends the mail you will not be able to remove apim-noreply#mail.windowsazure.com due to security issues.

Lravel 5.6 : emails sent using mail facade go to junk for only hotmail and outlook addresses

i'm setting up automatic emails for events like user registration and change password etc. the problem is that the emails go to junk for Hotmail,outlook whereas work fine for gmail.
I have tested my email for junk content and https://www.mail-tester.com/ gave me a score of 8.5/10 and i don't want to ask my recipients to manually add me to safe senders list
You need to verify your server and sender for it appear in inbox. Have a look at SPF and DKIM.
https://www.sparkpost.com/blog/understanding-spf-and-dkim/
You can also use other email services such as mailchimp, amazon ses etc

Laravel mail send got Email address is not verified

Does anyone came across with this error message when sending mail in Laravel, is there a way to solve this?
Swift_TransportException in AbstractSmtpTransport.php line 383:
Expected response code 250 but got code "554", with message "554 Message rejected: Email address is not verified.
"
I did verified the email addresses and its been "verified" but still came across this error..
Laravel is working fine. You are getting an error message from the AWS mail server.
http://docs.aws.amazon.com/ses/latest/DeveloperGuide/smtp-response-codes.html
You are trying to send email from an email address or domain that you have not verified with Amazon SES. If your account is still in the sandbox, you also need to verify the recipient address. For more information, see Verifying Email Addresses in Amazon SES.
Note that Amazon SES has endpoints in multiple AWS regions, and email address verification status is separate for each AWS region. You must complete the verification process for each sender in the AWS region(s) you want to use. For information about using Amazon SES in multiple AWS regions, see Regions and Amazon SES.
Make special note of that second paragraph. You may need to verify the email for the specific region you are trying to contact, or you need to change your contact address to the correct region.
For breif information refer below link
http://docs.aws.amazon.com/ses/latest/DeveloperGuide/smtp-response-codes.html

How can I send email to unicode email recipient through java mail

How can I send email to email address like महाराजा#test.com? I am using spring and java mail for sending emails. I get exception javax.mail.internet.AddressException: Local address contains control or whitespace in string while sending the email.
Unfortunately javax.mail does not yet support the RFC 653x family of standards that enables internationalised e-mail addresses. Bug tracker
Actually right now very little internet mail infrastructure supports it, so you're probably not missing much, yet.

How does Google use "Google" as a source address in text messages

I've seen other companies do this, but Google is a notable example.
When you turn on two-factor authentication with Google, one of the options is to receive an SMS when you logon. I've noticed that the sender's address, rather than being an MSISDN like 346-555-1234 is "Google".
How are they doing that?
In the smpp 3.4 specifications, the source address can be defined as an alphanumeric string of 11 characters

Resources