Support > cpg1.5 email
Not sure whats happening with emails
Αndré:
Unfortunately debug mode only tells us that cpg_mail cannot send the email. Does sending emails with the PHP mail function work? See http://php.net/manual/en/function.mail.php
photobombs:
I'm not sure if it is or isn't as I am not skilled in this field
I created a file test.php with the code
--- Code: ---<?php
$to = 'carl@whereinhull.com';
$subject = 'the subject';
$message = 'hello';
$headers = 'From: carl@whereinhull.com' . "\r\n" .
'Reply-To: carl@whereinhull.com' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
mail($to, $subject, $message, $headers);
?>
--- End code ---
but I am receiving nothing
Joe Carver:
Check with your hosting company. They might have disabled php mail functions. This can occur if they have spammers using a shared server or IP address.
photobombs:
surely though, putting in the smtp details would bypass the php mail
Αndré:
Maybe they've also disabled something that denies connecting to your chosen SMTP server. Is it an external server or the recommended SMTP server of your host?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version