Outlook blocks my PHPmailer but they deny it - outlook

I use phpmailer to deliver important information to my clients about their interactions with the site, security codes, etc. The mailer uses a gmail account I set up and works just fine emailing other gmail accounts. Hotmail has never worked, and my work outlook account received one or two emails before also going dark.
I emailed the header information to outlook but they state there's no block on the IP and plugging it into their automated system returns google postmaster (which they automatically e-mail instructions to for helping me out. I don't have access to the google postmaster account, so obviously I don't receive them).
My question is what do I do now. Half of my clients use outlook and I need to access them. Outlook customer service has been less helpful than a magic 8 ball and keep referring me back to their smart network data services, which keeps sending info to google postmaster. When I tell them this, they tell me there's no block on the IP and send me the same links. I'm stuck in their loop and just want them to let my e-mails get through!
EDIT: I believe it has to do with the PHPmailer, because if I send the e-mail directly from the google account, it gets through:
require "../mailer/PHPMailerAutoload.php";
$mail = new PHPMailer;
$mail->isSMTP(); // Set mailer to use SMTP
$mail->Host = 'smtp.gmail.com'; // Specify main and backup SMTP servers
$mail->SMTPAuth = true; // Enable SMTP authentication
$mail->Username = $outputMail['email']; // SMTP username
$mail->Password = $outputMail['pass']; // SMTP password
$mail->SMTPSecure = 'tls'; // Enable TLS encryption, `ssl` also accepted
$mail->Port = 587; // TCP port to connect to
$mail->AddReplyTo("myemail#domain.com");
$mail->From = "myemail#domain.com";
$mail->FromName = "My Business";
$mail->addAddress($email); // Add a recipient
$mail->isHTML(true); // Set email format to HTML

So, after a LOT of digging, it turns out it was the PHPmailer, so I'll leave this here for anyone that needs it. Outlook / hotmail apparently have an EXTREMELY high spam filter, and mail that has a AddReplyTo or FROM section (as I had above) or does not have an 'unsubscribe' link can be filtered out. Removing that completely solved my problem.

Related

Using encryption with Gmail API

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

Not delivering to previously bounced address - Mailgun

I'm setting up my Laravel website, and now comes the part where I configure Mailgun to send and receive emails.
I followed different guides to do that, yet I don't feel I'm doing it right. I'm now stuck with this error:
Failed: postmaster#syrianafood.dk → ibrahim_hasan_eng#hotmail.com 'New Order from Ibrahim Hasan' Not delivering to previously bounced address
i.e. Mailgun is not able to deliver my emails. Could you please guide me through this? Thank you!
If mail was sent and rejected by the provider (bad content, headers, etc), Mailgun will automatically blacklist that address from being sent to in the future.
This is to prevent blacklisting yourself from many of the different MX providers out there.
If you think you've solved that problem, you can perform a DELETE request through the Mailgun API in the format of DELETE /<domain>/bounces/<address> before sending the mail, and then you'll be able to send to that address again.
You can check if a bounce has happened previously by performing a POST request to POST /<domain>/bounces. Furthermore, you will receive a JSON object back with a REASON as to why the bounce occurred, giving you the ability to respond in kind to this.
If a domain is not working correctly and it's not in the blacklist, then it's possible that the MX Provider its self is not accepting the emails and is responding unfavorably in a way that Mailgun cannot handle.
You can also delete the mail directly from the Mailgun UI if you have the login credentials. Please see the comment below and give it an upvote.

Spring mail using Gmail SMTP server

I have implemented simple email sending client as show in http://www.baeldung.com/spring-email. I used Gmail smtp server, everything works fine but google sets "from" field to email of which I have connected to smtp server. This is a problem because I want that "from" field would be an email address which client entered. Does anyone know how to solve it??
P.S. I have found this https://support.google.com/mail/answer/22370?hl=en but it is not an option.
Gmail is not going to let you send messages that appear to come from any arbitrary email address because that would allow you to spam or phish people with a forged From address.

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.

form to mail not getting to exchange server recipient

this is terrible for me now. i used php mail function and also use Contact Form 7 plugins too on my wordpress theme. also smtp plugins too. change many smtp server. but not work. mail function and Contact Form 7 both working fine on other mail account (gmail, yahoo. hotmail or any other pop mail) not just my client pop account. because they use microsoft exchange server.
for test issue i did something like i sent mail to frist to one gmail account and i setup in gmail auto fwd to one them that pop account . it working well but this problem is in mail show where it is from (xxxx#gmail.com) .. i don't want to show that gmail address. or i want direct send to that pop account.
server is godaddy
guys any solution ?
Google doesn't allow you to send from other addresses unless you are hosting your domain with them.

Resources