Posted by Stefan Mueller on 11/29/05 11:00
I'd like to generate a HTML email with a PHP script. I do that with
something like
<?php
$body = "<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>
<html>
<head>
<style type = 'text/css'>
...
mail($to, $subject, $body, $headers);
?>
It looks fine in Outlook but not in Lotus Notes. If I forward the email from
Outlook to Lotus Notes it also looks fine in Lotus Notes.
I think the problem is that I'm using
<style type = 'text/css'>
instead of
<style type = "text/css">
Therefore my question: How can I generate a HTML email with a PHP script
using " instead of '?
Stefan
Navigation:
[Reply to this message]
|