Jump to content

one more thing about HTML emails


glenelkins

Recommended Posts

Ok so i can get html emails working if i write the html between <<<EOF ... EOF; but what is i want to get the html code from a file and send in the email. i use:

[code]
$email =
<<< EOF
  file_get_contents($filename);
EOF;
[/code]

but all it does is send: "file_get_contents($filename)" to the email address

any ideas?
Link to comment
https://forums.phpfreaks.com/topic/11160-one-more-thing-about-html-emails/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.