Code: Select all
ini_set('sendmail_from','[email protected]');
Code: Select all
ini_set('from','[email protected]');
Code: Select all
class emailer
{
var $msg, $subject, $extra_headers;
var $addresses, $reply_to, $from;
var $use_smtp;
Code: Select all
// We now try and pull a subject from the email body ... if it exists,
// do this here because the subject may contain a variable
This is still because of an error with:General Error
Failed sending email :: PHP ::
DEBUG MODE
Line : 246
File : emailer.php
Code: Select all
$result = @mail($to, $this->subject, preg_replace("#(?<!\r)\n#s", "\n", $this->msg), $this->extra_headers);
Line 185 of smtp.php is:General Error
Ran into problems sending Mail. Response: 503 valid RCPT command must precede DATA
DEBUG MODE
Line : 185
File : smtp.php
Code: Select all
server_parse($socket, "354", __LINE__);