|
Posted by juglesh on 10/28/87 11:44
Justin wrote:
> YC wrote:
> > I never had problem with this PHP page with mail() function with at
> > least 5 different servers, but email sent through the server of this
> > "T" company tends to get blocked by spam filters. I tested with my
> > different email accounts and these are the results.
> >
> > * The mail is delivered to the "Inbox" of my AOL account.
> > * The mail is delivered to the "Bulk Mail" folder of my hotmail and msn
> > accounts.
> > * The mail is delivered to the "Spam" folder of another account of
> > mine.
> > * The mail is not delivered to any of my two university accounts.
> >
> > One thing I noticed is that this "T" company hasn't setup the "From"
> > section, unlike the other servers that I worked with before, so the
> > mail is coming from "Nobody" <nobody@________>. I suggested the tech
> > person of the company update the "php.ini" file, but he doesn't admit
> > that's the issue. I tried manually adding the From with PHP coding
> > with "$headers," but it didn't make any change.
> >
> > So any idea about this problem?
> >
> > YC
> >
> I had this issue with a moronic hoster that would not set the From:
> variable in PHP.
>
> I had to resort to setting this using ini_set function. Throw it in a
> common file like the one you have you mysql connect details in.
also, you might try sending with smtp using pear's mail or phpmailer.
It's gotten me around a similar issue.
--
j
[Back to original message]
|