Forum OpenACS Q&A: Re: ns_sendmail

Collapse
3: Re: ns_sendmail (response to 1)
Posted by Tom Jackson on

You can add extra headers to you email message:

set subject "Test message"
set body "

This is a test message using HTML

" set from "me@example.com" set to "you@example.com" set extraheaders [ns_set create] ns_set put $extraheaders "Content-type" "text/html" ns_sendmail $to $from $subject $body $extraheaders
Collapse
5: Re: ns_sendmail (response to 3)
Posted by j c on
Thank's for your response!

could you explain "ns_set put" command