I'm trying to send mails when a user signs up. and getting connection error.

Posted 1 year ago by agilasadi

I use event listener for that and to try my mailing I use mailtrap, but I get an error that I don't know what excacly cousing it. here is what it looks like:

Connection could not be established with host smtp.mailtrap.io [php_network_getaddresses: getaddrinfo failed: A non-recoverable error occurred during a database lookup. #0]

Btw I defined all the infromation required in .env file

Please sign in or create an account to participate in this conversation.