Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problem with sending email from a website

2 views
Skip to first unread message

ewunia

unread,
Aug 6, 2006, 11:09:56 PM8/6/06
to
I have this strange problem can anyone help me to solve it?

I have a dedicated server with linux operating system. I only use PHP
for my scripts.
All mail from all domains sent via website DOESN'T WORK. Meaning that
whatever webform I use to send email it simply desn't send any email. I
tried simple formmail webforms and also the ones that comes with Cpanel
and they simply don't send any emails.

However all email sent via Outlook work without any problems.

What is causing a problem with sending the mail via my websites? The
PHP code to send an email via webform is very simple:
<?
$headers = "Content-type: multipart/mixed\r\n";
$headers .= "Content-transfer-encoding: 8bit\r\n";
$headers .= "From: em...@mydomain.com\r\n";
$headers .= "Reply-to: em...@mydomain.com\r\n\r\n";

$email = "sup...@domain.com";
$message = "test1";

mail($email, "test email", $message, $headers);
?>

Taylor, Grant

unread,
Aug 6, 2006, 11:24:07 PM8/6/06
to

What do you see in logs? You should see the attempt to send the message
with a reason as to why the messages might not be going out.

Grant. . . .

0 new messages