Forum

Thread tagged as: Problem, Installation, Hosting

Welcome Email Won't Send

After setting Perch up nicely on my site, I realise that I can't send a Welcome email out. The error message bounced is:

A message that you sent was rejected by the local scanning code that checks incoming messages on this system. The following error was given:

"Relaying not permitted"

I tried contacting the hosting company (namecheap) but they told me that there was nothing wrong on their end, and it was a code issue on our end.

Is there any way to fix this? I think it's something to do with PHPMailer as I'm having problems sending contact forms out with PHPMailer as well, but they told me there was absolutely nothing wrong with connections on their end.

Would appreciate if any insight could be given, thanks!

Sheryl Chan

Sheryl Chan 0 points

  • 6 years ago
Rachel Andrew

Rachel Andrew 394 points
Perch Support

This is not a "code issue", you are trying to relay mail through a server that doesn't allow that.

Namecheap's forum appears to be full of people with the same issue: https://www.namecheap.com/support/knowledgebase/searchResult.aspx?q=relaying%20not%20permitted

You can configure Perch to send email via another provider, documentation is here: https://docs.grabaperch.com/docs/installing-perch/configuration/email/

Thanks for pointing that out Rachel, now it's working fine after I use something with their domain name in it.