Page 1 of 1

Email Script problems - what's the easy fix?

Posted: Wed Jun 27, 2012 2:33 pm
by simonmlewis
Hi
We have major issues with JustHost. They've performed an update and how most of our email scripts fail, and churn out emials with bogus addresses in them - rather than addresses we put into the FROM header.

I've told this is one solution, but it doesn't work.

https://my.justhost.com/cgi/help/206

How should we be setting our email scripts?

Re: Email Script problems - what's the easy fix?

Posted: Thu Jun 28, 2012 1:16 pm
by Christopher
Looks like an anti-spam measure. In addition to the formatting check it also says "the email address does not exist in the cPanel."

Re: Email Script problems - what's the easy fix?

Posted: Thu Jun 28, 2012 5:12 pm
by simonmlewis
So you think if it's fired out from a valid email address in the cPanel, it will work?

Re: Email Script problems - what's the easy fix?

Posted: Thu Jun 28, 2012 5:25 pm
by Christopher
Only one way to find out...

Re: Email Script problems - what's the easy fix?

Posted: Thu Jun 28, 2012 5:31 pm
by simonmlewis
That's not it - as we have code that DOES work, as the email address FROM isn't even in the system!

Code: Select all

$headers = "From: $row->supportemail";
This works. Is it "good code"?