Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

loadHTMLBody Issues #206

Open
mrlami opened this issue Mar 16, 2014 · 0 comments
Open

loadHTMLBody Issues #206

mrlami opened this issue Mar 16, 2014 · 0 comments

Comments

@mrlami
Copy link

mrlami commented Mar 16, 2014

$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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant