AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: mdjn on June 22, 2015, 05:42:15 AM

Title: Can't Send emails
Post by: mdjn on June 22, 2015, 05:42:15 AM
Hi guys, not sure what I've done wrong here, but I've set up email with the correct details for SMTP
Yet I get this error:
Number of repetitions:
17
Can't send emails. Please see log for details and check your mail settings.

Here are log entries I think are relevant:
2015-06-19 14:28:44 - Error: EHLO not accepted from server!
2015-06-19 14:28:44 - Error: AUTH LOGIN not accepted from server!
2015-06-19 14:28:44 - Error: Username not accepted from server!
2015-06-19 14:28:44 - Error: Password not accepted from server!
2015-06-19 14:28:44 - Error: MAIL FROM not accepted from server!
2015-06-19 14:28:44 - Error: RCPT TO not accepted from server!
2015-06-19 14:28:44 - Error: DATA not accepted from server!
2015-06-19 14:28:44 - Error: DATA not accepted from server!
2015-06-19 14:28:44 - Error: QUIT not accepted from server!
2015-06-19 14:30:19 - Error: EHLO not accepted from server!
2015-06-19 14:30:19 - Error: AUTH LOGIN not accepted from server!
2015-06-19 14:30:19 - Error: Username not accepted from server!
2015-06-19 14:30:19 - Error: Password not accepted from server!
2015-06-19 14:30:19 - Error: MAIL FROM not accepted from server!
2015-06-19 14:30:19 - Error: RCPT TO not accepted from server!
2015-06-19 14:30:19 - Error: DATA not accepted from server!
2015-06-19 14:30:19 - Error: DATA not accepted from server!
2015-06-19 14:30:19 - Error: QUIT not accepted from server!
2015-06-19 14:30:24 - Error: EHLO not accepted from server!
2015-06-19 14:30:24 - Error: AUTH LOGIN not accepted from server!
2015-06-19 14:30:24 - Error: Username not accepted from server!
2015-06-19 14:30:24 - Error: Password not accepted from server!
2015-06-19 14:30:24 - Error: MAIL FROM not accepted from server!
2015-06-19 14:30:24 - Error: RCPT TO not accepted from server!
2015-06-19 14:30:24 - Error: DATA not accepted from server!
2015-06-19 14:30:24 - Error: DATA not accepted from server!
2015-06-19 14:30:24 - Error: QUIT not accepted from server!
2015-06-19 14:30:29 - Error: EHLO not accepted from server!
2015-06-19 14:30:29 - Error: AUTH LOGIN not accepted from server!
2015-06-19 14:30:29 - Error: Username not accepted from server!
2015-06-19 14:30:29 - Error: Password not accepted from server!
2015-06-19 14:30:29 - Error: MAIL FROM not accepted from server!
2015-06-19 14:30:29 - Error: RCPT TO not accepted from server!
2015-06-19 14:30:29 - Error: DATA not accepted from server!
2015-06-19 14:30:29 - Error: DATA not accepted from server!
2015-06-19 14:30:29 - Error: QUIT not accepted from server!

I then spotted the help bubble, which specifies I use ssl://smtp.mydomain.co.uk   which I have now done

I then tried to send a test email and get a thumbs down Emails does not sent! Please see error log for details.

Error log now shows:

2015-06-22 9:37:27 - warning: AbanteCart core v.1.2.2 fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]: php_network_getaddresses: getaddrinfo failed: Name or service not known in <b>/home/djshopmdjn/public_html/core/lib/mail.php</b> on line <b>234</b>
2015-06-22 9:37:27 - warning: AbanteCart core v.1.2.2 fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]: unable to connect to ssl://smtp.mobiledjnetwork.co.uk:465 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in <b>/home/djshopmdjn/public_html/core/lib/mail.php</b> on line <b>234</b>
2015-06-22 9:37:27 - Error: php_network_getaddresses: getaddrinfo failed: Name or service not known (0)

Any clues what I'm doing wrong and how to fix it please?

Thanks

Pete
Title: Re: Can't Send emails
Post by: abolabo on June 22, 2015, 05:44:48 AM
what port? 465?
Title: Re: Can't Send emails
Post by: mdjn on June 22, 2015, 05:55:31 AM
yes!
Title: Re: Can't Send emails
Post by: abolabo on June 22, 2015, 06:05:24 AM
try to connect ssl://mobiledjnetwork.co.uk
Title: Re: Can't Send emails
Post by: mdjn on June 22, 2015, 06:32:00 AM

WOOHOO!!  Looks like it sent!!

Thanks for your help, much appreciated :-)