alternate to mail() function

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
assassinave
Forum Newbie
Posts: 3
Joined: Wed Jul 18, 2007 7:12 pm

alternate to mail() function

Post 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?
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Re: alternate to mail() function

Post by Burrito »

Post Reply