FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Mail problems on VPS1





tony
I can't seem to get the PHP mail function to work anymore...

Code:

<?php
   mail("name@email.com", "Hello!", "What is up?", "MIME-Version: 1.0\nContent-type: text/plain; charset=utf-8\nX-Priority: 3\nX-MSMail-Priority: Normal\nX-Mailer: php\nFrom: asdf@asdf.com");
?>


That's my script, where name@email.com is replaced by my actual e-mail. I have been accessing it over and over again, and I never receive the e-mail. I have checked my spam folder too and I am not receiving it there either. I also tried switching it to my other e-mail, and still nothing. There is no error_log showing up in the directory when I run the script...

Is anyone else able to use their php mail functions?
djclue917
You might find this thread useful: http://www.frihost.com/forums/vt-86907.html
tony
That uses the same mail function.

If anyone can send e-mails right now from Frihost, will you please share your code?
tony
Can anyone send e-mail right now? I didn't change anything and all of a sudden PHP won't send e-mails... Do I need to change something in CPanel?? Anyone here?
porcolinks
I have the same problem. Any idea ?
tony
Okay; I know it was working a couple weeks ago. Does anyone know what's going on? I need this feature for a web site I am running right now...
m-productions
My function, works perfectly

Code:


function sendEmail(){
   $yourname = 'M-productions'; //PUT YOUR NAME HERE
   $youremail = 'admin(ay)m-pr32434oductions.frih.net';
   
   //to user
   $headers = "From: $yourname <$youremail>\n";
   $headers .= "Reply-To: $yourname <$youremail>\n";
   $headers .= "MIME-Version: 1.0\n";
   $headers .= "Content-type: text/html; charset=iso-8859-1";
   
   
   //the message body
   $message = "Dear ".$GLOBALS['username'].",<p> Thank you for registering your password is ".$GLOBALS['password']."</p>";
   
   
   mail($GLOBALS['email'], "Your login details", $message, $headers);
}

?>


then to use it

Code:

   sendEmail();
porcolinks
m-productions wrote:
My function, works perfectly



Work now??? Are you sure??

The problem is on the server, mail() not work from a week ago.
Bockman
m-productions is hosted on Server2, not on VPS1.

Bondings is already aware of this situation and we're trying to solve the problem.

Be Well Cool
rvec
all mail problems on VPS1 in this topic. Please don't make any new topics about this.
BPrice
I to cannot send or receive any emails on my frihost.net accounts other than from \ to other frihost.net accounts.
porcolinks
Please, My site depend on php mail function.

Someone could give some information?
rvec
porcolinks wrote:
Please, My site depend on php mail function.

Someone could give some information?

Bondings is working on it. Nothing but wait is what we can do.
Related topics
e-mail problems
form mail problems (quality help=frih$)
PHP mail problems...
problems with mail()
Server 2 POP mail problems
Unable sending mail - verification error
Sorry......E-mail not working
Setting up E-mail Problems
Malicious script I can't seem to get rid of...
Problems Logging into Squirrel Mail
mail problems
Anyone else having problems with Yahoo Website and Mail?
New Server - POP3 Emails Not Received
Exim, spamblocker and spamassassin changes on Server 2/3
Reply to topic    Frihost Forum Index -> Support and Web Hosting -> Web Hosting Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.