Kan iemand me vertellen hoe ik kan zorgen dat dit stukje plaintext verzend?
Code: Select all
if($html2){
$mail2 = new Mail();
$mail2->protocol = $this->config->get('config_mail_protocol');
$mail2->parameter = $this->config->get('config_mail_parameter');
$mail2->hostname = $this->config->get('config_smtp_host');
$mail2->username = $this->config->get('config_smtp_username');
$mail2->password = $this->config->get('config_smtp_password');
$mail2->port = $this->config->get('config_smtp_port');
$mail2->timeout = $this->config->get('config_smtp_timeout');
$mail2->setTo("adres@leverancier.com");
$mail2->setFrom($this->config->get('config_email'));
$mail2->setSender($order_info['store_name']);
$mail2->setSubject(" ");
//$mail2->setHtml($html2);
$mail2->setText($html2);
$mail2->send();
Op dit moment komt geen enkele order aan wat betekend dat ik alle orders met de hand moet bestellen. Kan er please iemand naar kijken wat er verkeerd gaat?
Alvast bedankt