I would like to use mailings for our organization.
First, I went to System Settings->Outbound Email Settings and selected mail(). When I clicked 'Save & Send Test Email', the email was properly delivered.
I then went to Mailing->Create New Mailing. I entered a message and clicked 'Send test' under 'Send test email to'. When I did this, I received the error: Error in call to Mailing_send_test : mail() returned failure.
Per some other posts, I did turn on additional debugging support, but that did not change the message displayed or the message that was logged to ConfigAndLog.
My guess was that mail() was the issue and specifying an authorized user via SMTP might work. So, I then went back to System Settings->Outbound Email Settings and selected SMTP. I entered the correct information (trying both SSL and non-SSL) and both times when clicking 'Save & Send Test Email', I recieved a lengty error message:
Sending test email. FROM: mail_sender@ TO: test_recipient@. Oops. Your SMTP settings are incorrect. No test mail has been sent.
An error occurred when CiviCRM attempted to send an email (via SMTP). If you received this error after submitting on online contribution or event registration - the transaction was completed, but we were unable to send the email receipt.
The mail library returned the following error message: Failed to connect to :25 [SMTP: Failed to connect socket: php_network_getaddresses: getaddrinfo failed: Name or service not known (code: -1, response: )]
I tried replacing the fully qualified domain name with localhost, but that also resulted in the same error message.
Can someone please suggest some steps for me to try to resolve these problems?