The `extra-header` parameter is a rest parameter, so you're supposed to
pass one string per header, not a single string containing all of them.
And, if you were going to send them all in a single string, you'd need to
separate them with an \r\n sequence, not with semicolons. So pass two
separate strings as the last two arguments:

"Return-Path: <mkaufm...@g.harvard.edu>"
"Content-Type: text/html; charset=iso-8859-1"

-Jon

On Sun, Mar 27, 2016 at 1:18 AM, Marc Kaufmann <marc.kaufman...@gmail.com>
wrote:

> Hi all,
>
> I am sending out emails with sendmail, and found a PHP thread [1] on the
> headers one should include in order to be able to use html in the emails -
> I want this only to make the links look nice, e.g. <a
> href="i-am-long-and-ugly">Pretty</a>.
>
> Unfortunately, adding "Return-Path: <mkaufm...@g.harvard.edu>;
> Content-type: text/html; charset=iso-8859-1;" as the extra-header string to
> sendmail has absolutely no effect and the html gets simply printed as text.
>
> I don't know whether this is due to Racket, sendmail, or the sendmail
> configuration on my system, so let me know if I should look elsewhere for
> solutions.
>
> Cheers,
> Marc
>
> [1]:
> http://stackoverflow.com/questions/15711700/php-mail-how-to-put-an-html-link-in-an-email
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to