SMTP BLOCK GMAIL ACCOUNT(mail goto spam and bounce mail) - laravel

I have applied smtp method for sending mail through api and frontend. i configure gmail for smtp and used AWS server but after 10 to 15 mail my gmail account block and not able to send mail.
because of "ohio" region AWS not provide smtp.

Related

Laravel Mailgun : Emails accepted but not delivered for addresses with the same domain

I have a domain https://magicamaids.com and a sub domain related to it is mailing.magicamaids.com. I configured mailgun with sub domain DNS. All TXT, MX, CNAME showing verified.
But I can't send email to anyuser#magicamaids.com from no-reply#magicamaids.com. But I can send email to any other gmail or outlook mail account from no-reply#magicamaids.com.
Note: Basically i have a contact-us form submission page. and i need to send email to sales#magicamaids.com. Here is my code
Mail::to(['sales#magicamaids.com'])->send(new ContactUs($data));
My .env file is
MAIL_FROM_ADDRESS=no-reply#magicamaids.com
MAIL_FROM_NAME="${APP_NAME}"
MAILGUN_DOMAIN=mailing.magicamaids.com
MAILGUN_SECRET=4a6ec.....
MAILGUN_ENDPOINT=api.eu.mailgun.net

Send mail with Laravel Lumen

I've a domain and an email address dedicated. I've a SMTP server provided by my domain. I'm asking myself if it's possible to send mail directly with this SMTP server without passing through API like MailGun (because, it's not free!), and how can I do that ?
Thanks !

Why I When I using mailgun for sending from yahoo mail or sending to yahoo mail it not works?

when i using gmail email it can be reset and set the from recipents
but when using yahoo mail the set from doent send and reset to yahoo address was error with
Expected response code 250 but got code "554", with message "554 Sandbox subdomains are for test purposes only. Please add your own domain or add the address to authorized recipients in Account Settings. "
Did you check out this page?
If this is the cause you could try sending an text-only e-mail for testing purposes, see if that does works.

Not receiving emails in Yahoo account using mailgun in codeigniter

I'm receiving mail in another accounts such as gmail, hotmail, etc...
but not getting on yahoo, Below error log from mailgun account.
Server response: 554 Message not allowed - [PH01] Email not accepted for policy reasons. Please visit https://help.yahoo.com/kb/postmaster/SLN5067.html [120]

Email Function - Webforms drupal 7

Here I have two queries:
SMTP authentication in MS Outlook mail
Used modules are SMTP authentication and webforms for drupal 7
Initially I used the gmail domain for SMTP authentication mails triggered to my recipients. Here my requirement is Microsoft outlook domain for SMTP authentication. My recipients are unable to receive mail. Please guide me.
SMTP AUTHENTICATION
Here I used the steps:
Turn this module on or off --> on
Turn on delivery of emails --> on
SMTP SERVER SETTINGS:
SMTP server --> smtp.office365.com
SMTP Port --> 587
encrypted protocol --> TLS
SMTP AUTHENTICATION (used microsoft outlook mail)
Username: ---> retail#companyname.com
Password: ----> xxxxxxxxxxx
How can I add CC and BCC in mail by using webforms in drupal 7?
You can send emails to multiple addresses, the email can be send to each address separately (if you don't want all recipients to see each other) or you can send one email to multiple addresses. Configuration is located on your webform: node/yourNID/webform/emails
However if you really wish CC there's a module for that: https://www.drupal.org/project/webform_cc
Or you can create your own function:
mytheme_webform_mail_headers($variables) {
$headers = array(
'X-Mailer' => 'Drupal Webform (PHP/' . phpversion() . ')',
);
$headers['cc'] = 'email#example.com';
return $headers;
}

Resources