Page 1 of 1

alternate to mail() function

Posted: Sat Jan 17, 2009 4:11 pm
by assassinave
Way amateur PHP guy here.

So developing some simple forms( I know form questions again!) and when testing this they worked brilliantly on my MediaTemple hosting. When I move the content to the clients, I found out that they restrict the mail() function. I tried to source the php script to my server to see if that would fool it into sending (though I know thats not secure), but that didn't work either.

Is there another solution to get around this non-support for the mail function?

Just using this simple

Code: Select all

mail($recipient, $subject, $content, $header);
Also why do some hosting providers restrict this? Spam protection?

Re: alternate to mail() function

Posted: Sat Jan 17, 2009 4:16 pm
by Burrito