Laravel 4 and AmazonSES Emails not delivered - laravel

I had success setting up Laravel 4 mailer with AmazonSES smtp endpoints to send out emails using the Laravel default mailer and smtp.
This seems to work fine ( with most cases ).
We have a process that sends out approx 10k emails. But a few emails address are skipped and emails dont seem to get delivered to particular email addresses. I tried sending emails to 3 different email addresses of the same domain , which results in the mail never getting delivered to 2 email addresses. But the other one seems to work fine.
Same as for gmail addresses emails don't seem to get delivered to one particular email address. Apart from Geography there is no other common factor amoung the email accounts that don't receive the emails.
Any idea ? I am quite lost.

Updating the config/mail.php with the below worked
host => 'aws_end_point' // ie. email-smtp.us-west-2.amazonaws.com
username => 'your_aws_key'
password => 'your_aws_secret'

Related

Use multiple sender address in Laravel Email

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

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

How to send email with Mailgun to Gmail with content

I'm using Mailgun to send email through SMTP.
It is working perfectly except that if I send two email with different content, Gmail stacks then in a list and the second one has no content. I don't understand why. In my Mailgun log it shows it was sent with content.
Should I change the subject?

After merging a Mandrill account into Mailchimp, how can I accept a verification email if my sending domain is not setup to receive emails?

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.

500 up email send at a time in laravel 5

I am in a project where i have to send email to group where each group has 300/400/500 email address. I have to send email at a time to group. I have already done this by normal process (fetching email address and send email by loop). It is working fine when a group has 10-20 email address but when a group has 100 up or more email it execute for long time and after a while it gives error. Any technical issues do i have to take in laravel 5 or other?
I am using gmail smtp server.
use queue system on laravel.
Laravel queue
Mail::queue('email.send_email', $somedata, function($m){
$m->to('example#example.com');
})

Resources