0

I have a Laravel 9.x site that I'm hosting on IONOS (shared-hosting).

In my site, I utilize mail a lot. So I'm sending mails to my customer frequently. While developing the system - I was using MailTrap.io - but for deployment, I need all the mails to go to my IONOS Mail Account i.e info@domain.com - for that, I need to use IONOS' Mail Configuration.

Following is my mail config (censoring out private info):

MAIL_MAILER=smtp
MAIL_HOST=smtp.ionos.com
MAIL_PORT=587
MAIL_USERNAME=####@#######.com
MAIL_PASSWORD=################
MAIL_ENCRYPTION=tls

MAIL_FROM_NAME="${APP_NAME}"
MAIL_FROM_ADDRESS=#####@#######.com

This is the error I'm getting:

enter image description here

This is the piece of manual documentation I got from IONOS' Dashboard:

enter image description here

How do I fix this? What is causing this issue? Like I mentioned before, all of it was working fine with MailTrap.io - so I'm really curious what am I doing wrong.

Thank you :)

VenoM
  • 453
  • 3
  • 9
  • 17

1 Answers1

0

As per ionos.com documentation

550 Sender address has null MX

The domain from which you send email has a configured No Service MX record (zero MX). The IONOS SMTP recipient rejects such emails

Delete the No Service MX entry in the DNS settings of your domain. For more information about a No Service MX entry, see RFC 7505.

N69S
  • 16,110
  • 3
  • 22
  • 36
  • I think my issue falls under "550 requested action not taken: mailbox unavailable" - does it not? – VenoM Aug 24 '22 at 16:57
  • @VenoM i think it's both, but having wrong MX entry in DNS config will lead to unverified mailbox error too. – N69S Aug 24 '22 at 16:58