Sending sale emails dont work

0

Can you give me advice I have a Godaddy server for my pos. I cannot get the sendmail working,

I asked Godaddy support but they just refer me to this documentation
https://au.godaddy.com/help/send-form-mail-using-an-smtp-relay-server-953

I would prefer sendmail or phpmail function but although no error comes up, no mail is received and I have tried several different email addresses.

the phpmail function does not allow any parameters, so I don't know why it doesn't work.

The sendmail does allow parameters so I use the recommended setting /usr/lib/sendmail which Godaddy suggests in their help doc.

But it still doesn't send mail out.

I cannot see any options in my cpanel for any of this.

Please help me as emailing sales is critical to my business.

thank you.

Question Resolved For: Simple POS - Point of Sale Made Easy 0 Votes 3 Answers 890 Views
Asked by Al Williams 4 years ago

0

Answered by Mian Saleem 4 years ago

Hello,

Did you update the default email in system settings? If not please change it to your email and then try again.

If you have already updated the default email in setting, then may be you can try with smtp to test. mailtrap.io offer free testing email account if you need. Please let me know if you have any questions.

Thank you

0

Answered by Al Williams 4 years ago

I have changed the default email to mine.

I have tried with my own SMTP which I know is working right.

But when I test I get this error SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

When I look at the link given in the error it says Godaddy has problems here is what it says:

Popular US hosting provider GoDaddy imposes very strict (to the point of becoming almost useless) constraints on sending an email. They block outbound SMTP to ports 25, 465 and 587 to all servers except their own. This problem is the subject of many frustrating questions on Stack Overflow. If you find your script works on your local machine, but not when you upload it to GoDaddy, this will be what's happening to you. The solution is extremely poorly documented by GoDaddy: you must send through their servers, and also disable all security features, username, and password (great, huh?!), giving you this config for PHPMailer:

$mail->isSMTP();
$mail->Host = 'localhost';
$mail->SMTPAuth = false;
$mail->SMTPAutoTLS = false;
$mail->Port = 25;
GoDaddy also refuses to send with a From address belonging to any aol, gmail, yahoo, hotmail, live, aim, or msn domain (see their docs). This is because all those domains deploy SPF and DKIM anti-forgery measures, and faking your from address is forgery.

What should I do? The SMTP is correct I don't really understand what to do next?

0

Answered by Mian Saleem 4 years ago

Hello,

The error means system unable to connect to SMTP. I test emails with mailtrap.io

I never use godaddy so I have no clue, may be you can directly ask them. There are many other email provider like SES, Mailgun, Sparkpost and postmark etc if you need.

Thank you

We use Cookies

We use cookies to ensure that we give you the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies.