ccgi - php mail problem
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- ccgi - php mail problem
ccgi - php mail problem
16-03-2010 9:38 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Re: ccgi - php mail problem
16-03-2010 9:40 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I am also have the exact same problem, no errors reported, but no emails are recieved.
Please Help ASAP
Thanks
Re: ccgi - php mail problem
16-03-2010 9:59 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
<?php
$to = 'your@self.co.uk';
$subject = 'Test Mail';
$message = 'hello';
$headers = 'From: postmaster@username.plus.com' . "\r\n" .
'Reply-To: postmaster@username.plus.com' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
mail($to, $subject, $message, $headers);
?>
suitably edited.
Presumably some other deprecated code causing it to fail.
Gabe
Re: ccgi - php mail problem
16-03-2010 10:06 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I notice Gabe has been setting the headers fully in his example, I would definitely recommend that in your code if it's not done already.
Re: ccgi - php mail problem
16-03-2010 10:23 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
cheers.
Re: ccgi - php mail problem
16-03-2010 10:40 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator

This is the code I am testing with ..
Mail test ..
<?php
$to = 'vintageview.uk@googlemail.com';
$subject = 'Test Mail';
$message = 'hello';
$headers = 'From: postmaster@degree7.force9.co.uk' . "\r\n" .
'Reply-To: postmaster@degree7.force9.co.uk' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
mail($to, $subject, $message, $headers);
echo "mail 1 sent ..";
$to = 'info@degree7.force9.co.uk';
$subject = 'Test Mail';
$message = 'hello';
$headers = 'From: postmaster@degree7.force9.co.uk' . "\r\n" .
'Reply-To: postmaster@degree7.force9.co.uk' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
mail($to, $subject, $message, $headers);
echo "mail 2 sent";
?>
So I get the first mail sent to my googlemail account .. but the second to my force9 account is nowhere to be seen ...
Re: ccgi - php mail problem
16-03-2010 12:27 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵
Re: ccgi - php mail problem
16-03-2010 1:04 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator

Re: ccgi - php mail problem
16-03-2010 1:11 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Re: ccgi - php mail problem
16-03-2010 2:51 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator

Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- ccgi - php mail problem