Answer the question
In order to leave comments, you need to log in
PHP - what is the form with sending to email?
Hello, the problem is the following.
There is an urgent need to install the form on the page kontaktformular-erstellen.berlinwebworld.de/editor
was taken The problem
server reports the following when sending:
sendmail: fatal: www-data(33): No recipient addresses found in message header
Code responsible for the letter:
$this->cfg['captacha_length'] = 6;
$this->cfg['emailaddress'] = $cfg['[email protected]'];
$this->cfg['confirmation_email_subject'] = 'New message sent from your website';
$this->cfg['form_validationmessage'] = $cfg['form_validationmessage'];
$this->cfg['form_error_captcha'] = $cfg['form_error_captcha'];
$this->cfg['form_error_emptyfield'] = $cfg['form_error_emptyfield'];
$this->cfg['form_error_invalidemailaddress'] = $cfg['form_error_invalidemailaddress'];
$this->cfg['form_validationmessage'] = $cfg['form_validationmessage'];
$this->cfg['form_emailnotificationinputid'] = $cfg['form_emailnotificationinputid'];
$this->cfg['form_emailnotificationtitle'] = $cfg['form_emailnotificationtitle'];
$this->cfg['form_emailnotificationmessage'] = $cfg['form_emailnotificationmessage'];
$this->mailheaders_brut .= "From: ".$this->cfg['emailaddress']."<".$this->cfg['emailaddress'].">\r\n";
$this->mailheaders_brut .= "Reply-To: ".$this->cfg['emailaddress']."<".$this->cfg['emailaddress'].">\r\n";
$this->mailheaders_brut .= "MIME-Version: 1.0\r\n";
$this->mailheaders_brut .= "Content-type: text/plain; charset=utf-8\r\n";
$this->mailheaders_brut .= "X-Mailer: PHP/".phpversion()."\r\n";
$this->demo = 0;
$this->envato_link = 'http://codecanyon.net/item/contact-form-generator/1719810';
}
function sendMail()
{
$mail_body .= 'You received a new message: '.date("F j, Y, g:i A")
."\r\n"."--------------------------------------------------------";
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question