SMTP not sending emails

All MAMP discussions around troubleshooting and anything related to MAMP. Be as detailed as possible here when posting an issue.
Post Reply
mestro65
Posts: 3
Joined: Sun Dec 19, 2021 11:46 am

SMTP not sending emails

Post by mestro65 »

MAMP SMTP won`t send emails from Drupal. I think I misconfigured SMTP.
Here is the configuration:
Local SMTP port: 25
Outgoing server: 127.0.0.1 port: 25
user name: setup (drupal username)
password: (drupal password)
auth: SSL

I`m trying to send email to gmail user.

Log:
emailrelay: 20211219.114817: warning: no domain name in "DESKTOP-7956QNA": defaulting to ".local"
emailrelay: 20211219.114817: info: smtp server on 0.0.0.0:25
emailrelay: 20211219.120141: warning: no domain name in "DESKTOP-7956QNA": defaulting to ".local"
emailrelay: 20211219.120141: info: smtp server on 0.0.0.0:25
emailrelay: 20211219.120704: warning: no domain name in "DESKTOP-7956QNA": defaulting to ".local"
emailrelay: 20211219.120704: info: smtp server on 0.0.0.0:25
emailrelay: 20211219.121318: info: smtp connection from 127.0.0.1:49543
emailrelay: 20211219.121318: info: tx>>: "220 DESKTOP-7956QNA.local -- E-MailRelay V1.9 -- Service ready"
emailrelay: 20211219.121318: info: smtp connection closed: exception event: 127.0.0.1:49543
emailrelay: 20211219.121318: warning: winsock select error: 10053
emailrelay: 20211219.121318: warning: winsock select error: 10053
emailrelay: 20211219.121358: error: polling: connection timeout
emailrelay: 20211219.121358: info: smtp client error: "connection timeout"
mampsupportmod
Site Admin
Posts: 156
Joined: Wed Jan 20, 2021 3:06 am

Re: SMTP not sending emails

Post by mampsupportmod »

mestro65 wrote: Sun Dec 19, 2021 12:00 pm MAMP SMTP won`t send emails from Drupal. I think I misconfigured SMTP.
Here is the configuration:
Local SMTP port: 25
Outgoing server: 127.0.0.1 port: 25
user name: setup (drupal username)
password: (drupal password)
auth: SSL

I`m trying to send email to gmail user.

Log:
emailrelay: 20211219.114817: warning: no domain name in "DESKTOP-7956QNA": defaulting to ".local"
emailrelay: 20211219.114817: info: smtp server on 0.0.0.0:25
emailrelay: 20211219.120141: warning: no domain name in "DESKTOP-7956QNA": defaulting to ".local"
emailrelay: 20211219.120141: info: smtp server on 0.0.0.0:25
emailrelay: 20211219.120704: warning: no domain name in "DESKTOP-7956QNA": defaulting to ".local"
emailrelay: 20211219.120704: info: smtp server on 0.0.0.0:25
emailrelay: 20211219.121318: info: smtp connection from 127.0.0.1:49543
emailrelay: 20211219.121318: info: tx>>: "220 DESKTOP-7956QNA.local -- E-MailRelay V1.9 -- Service ready"
emailrelay: 20211219.121318: info: smtp connection closed: exception event: 127.0.0.1:49543
emailrelay: 20211219.121318: warning: winsock select error: 10053
emailrelay: 20211219.121318: warning: winsock select error: 10053
emailrelay: 20211219.121358: error: polling: connection timeout
emailrelay: 20211219.121358: info: smtp client error: "connection timeout"
You're getting connection time out trying to resolve a localhost. You haven't set smtp up correctly. Sorry, all I can say without knowing more and your goals.
MAMP Support Forums is an unofficial support forum covering MAMP & MAMP Pro solution stacks.
mestro65
Posts: 3
Joined: Sun Dec 19, 2021 11:46 am

Re: SMTP not sending emails

Post by mestro65 »

Thanks for the reply! All I want is just to notify a new Drupal user of their new account. I`m sending an email from the Drupal Maintenance account.
mestro65
Posts: 3
Joined: Sun Dec 19, 2021 11:46 am

Re: SMTP not sending emails

Post by mestro65 »

Also, the Drupal version is 9 and Mamp Pro 4. I also have the SMTP module for Drupal. Sorry, I`m pretty new to SMTP and Drupal.
Post Reply