Server cannot send emails
| From: | Sergio Jovani | Date: | Fri, 16 Jan 2009 13:36:08 +0000 |
| Subject: | Server cannot send emails | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-286495@lists.php.net to get a copy of this message | ||
Hi!
I have working at SourceForge.net project web space Drupal as CMS. I
have many modules installed related with email like Contact, Notify...
This modules never worked and I tried send an email from email php
function. I did it with:
<?php
$to = "myemail@gmail.com";
$subject = "Hi!";
$body = "Hi,\n\nHow are you?";
if (mail($to, $subject, $body)) {
echo("<p>Message successfully sent!</p>");
} else {
echo("<p>Message delivery failed...</p>");
}
?>
This does not work too. Is there any issue with email sending from
SourceForge.net?
Thanks!