Joomla can't send test email or any email Topic is solved

Need help with the Administration of your Joomla! 3.x site? This is the spot for you.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
pambesteder
Joomla! Guru
Joomla! Guru
Posts: 639
Joined: Sat Sep 18, 2010 9:25 pm

Joomla can't send test email or any email

Post by pambesteder » Fri Aug 12, 2022 3:06 am

I'm on Joomla 3.10.10

I cannot send a test email using PHP, Sendmail, or SMTP. I get an error message whenever I try:

PHP:
  • Could not instantiate mail function
    Test mail could not be sent.
Sendmail:
  • Could not execute: /usr/sbin/sendmail
    Test mail could not be sent.
SMTP
  • SMTP Error: data not accepted.SMTP server error: DATA END command failed Detail: Missing internal data in the header. Message discarded. SMTP code: 550
    Test mail could not be sent.
I created a form and enabled user registration to see if I would at least get those:
  • I was able to complete the form
    However, the email didn't get sent
    The user was created in the backend but without access
WHAT is going on and HOW do I fix it?

Thanks
Pam

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17422
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Joomla can't send test email or any email

Post by toivo » Fri Aug 12, 2022 6:10 am

pambesteder wrote:
Fri Aug 12, 2022 3:06 am
SMTP Error: data not accepted.SMTP server error: DATA END command failed Detail: Missing internal data in the header. Message discarded. SMTP code: 550
The SMTP error code 550 is a non-delivery report (NDR), in other words, a bounce. The receiving SMTP server has rejected the email and returns it.

The following tutorial shows how to use the Gmail server to forward email messages: How do I use Gmail as my mail server?. Try Gmail just to see that the PHPMailer in Joomla 3.10 works all right.

Please note that SMTP errors and lost emails can be caused by issues in SSL certificates or inconsistent mail domains, different from the domain of the web server, and also restrictions set by the web host network.

Enable the Debug option in Global Configuration and configure the plugin System - Debug to write everything to do with mail into a log file for the user group you are using for testing. Download the log file and post the relevant messages here for advice.
Toivo Talikka, Global Moderator

pambesteder
Joomla! Guru
Joomla! Guru
Posts: 639
Joined: Sat Sep 18, 2010 9:25 pm

Re: Joomla can't send test email or any email

Post by pambesteder » Fri Aug 12, 2022 5:08 pm

Thank you. It didn't matter which type I used to test if the mail was working. They all failed.
And the registration form failed as well.

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17422
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Joomla can't send test email or any email

Post by toivo » Fri Aug 12, 2022 9:46 pm

Contact your host and find out what they recommend. Joomla 3.10 sends emails and the SMTP mail works, as long as it has been configured correctly and the host allows SMTP connections to external servers or their sendmail or SMTP server is used.
Toivo Talikka, Global Moderator

pambesteder
Joomla! Guru
Joomla! Guru
Posts: 639
Joined: Sat Sep 18, 2010 9:25 pm

Re: Joomla can't send test email or any email

Post by pambesteder » Sat Aug 13, 2022 1:01 am

I will thank you!

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17422
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Joomla can't send test email or any email

Post by toivo » Sat Aug 13, 2022 1:51 am

Did your host fix the issue?
Toivo Talikka, Global Moderator

pambesteder
Joomla! Guru
Joomla! Guru
Posts: 639
Joined: Sat Sep 18, 2010 9:25 pm

Re: Joomla can't send test email or any email

Post by pambesteder » Mon Aug 15, 2022 7:17 pm

Yes!!! Thank you. Seems that the email on their end was incorrect. You saved my life. Thank you.

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17422
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Joomla can't send test email or any email

Post by toivo » Tue Aug 16, 2022 9:35 am

Cheers, good that it is now working!
Toivo Talikka, Global Moderator


Locked

Return to “Administration Joomla! 3.x”