Please help w sendmail no send emails
see pics pls
I don’t know how you are sending those emails but the error is quite obvious:
"admin@onegayplatform" <>: missing or malformed local part
The email address should be inside <>
and the name inside ""
, for example:
"Admin" <admin@onegayplatform>
th…you I see it now
yes, I FIX IT, but now work only my email on server AND NO SEND TO GMAIN! W PROBLEMS NOW. PLEASE HELP
Seems i misstyped it in my example, the header from should be:
"Admin <[email protected]>"
Or without quotes:
Admin <[email protected]>
You are including the date, content-type, etc. in from header and those should have their own headers. I don’t know what is the email client you are using but it is not doing a good job
I Use the built-in mail() function
Sorry but built-in where? PHP?
If it is PHP, seems you are not formatting the headers correctly.
Example:
<?php
$to = "[email protected], [email protected]";
$subject = "HTML email";
$message = "
<html>
<head>
<title>HTML email</title>
</head>
<body>
<p>This email contains HTML Tags!</p>
<table>
<tr>
<th>Firstname</th>
<th>Lastname</th>
</tr>
<tr>
<td>John</td>
<td>Doe</td>
</tr>
</table>
</body>
</html>
";
$headers = "MIME-Version: 1.0" . "\r\n";
$headers .= "Content-type:text/html;charset=UTF-8" . "\r\n";
$headers .= 'From: <[email protected]>' . "\r\n";
mail($to,$subject,$message,$headers);
?>
I TRY SENDMAIL USE IT
<?
$mailto = "[email protected]"; //ваша эл. почта
mail($mailto, "Тестовое письмо", "Sendmail работает!") or die("Ошибка");
echo "Проверяй почту";
?>
RESIVED MAIL - WORK SENDMAIL, NEED more work
now sendmail work, but a see no english I SEE NO MY MSG
0D=0AMessage:=0D=0Aonegayplatform.com=0D=0A=0D=0ABest
I send it
RESIVED
DRIVE ME CRAZY
Check your PHP code that sends the email…
Or use phpmailer …
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.