Open mrlami opened 10 years ago
$email->loadHTMLBody( '../message.html', array('{REFCODE}' => $refcode) );
Above code returns below error even though the file exists and is valid HTML.
The email could not be sent because: Please provide a plaintext email body
It works with loadBody and a text file for plain text email.
Above code returns below error even though the file exists and is valid HTML.
It works with loadBody and a text file for plain text email.