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?
Email Script problems - what's the easy fix?
Moderator: General Moderators
-
simonmlewis
- DevNet Master
- Posts: 4435
- Joined: Wed Oct 08, 2008 3:39 pm
- Location: United Kingdom
- Contact:
Email Script problems - what's the easy fix?
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
All the best from the United Kingdom.
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: Email Script problems - what's the easy fix?
Looks like an anti-spam measure. In addition to the formatting check it also says "the email address does not exist in the cPanel."
(#10850)
-
simonmlewis
- DevNet Master
- Posts: 4435
- Joined: Wed Oct 08, 2008 3:39 pm
- Location: United Kingdom
- Contact:
Re: Email Script problems - what's the easy fix?
So you think if it's fired out from a valid email address in the cPanel, it will work?
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
All the best from the United Kingdom.
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
-
simonmlewis
- DevNet Master
- Posts: 4435
- Joined: Wed Oct 08, 2008 3:39 pm
- Location: United Kingdom
- Contact:
Re: Email Script problems - what's the easy fix?
That's not it - as we have code that DOES work, as the email address FROM isn't even in the system!
This works. Is it "good code"?
Code: Select all
$headers = "From: $row->supportemail";Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
All the best from the United Kingdom.