Sam Varshavchik wrote:
> Scott writes:
> 
>> I need to send an autoreply in html format with a specific font and 
>> formatting.  I first composed the html email in Thunderbird and saved 
>> it as a draft.  Then I cut out the headers and saved it as a file.  I 
>> uploaded that file in the sqwebmail autoreply interface, created the 
>> rule, and tested.  Obviously it didn't work.  I suspect I need to add 
>> a header indicating an encoding type (which wasn't present in the 
>> saved version).
>>
>> Anyone have experience sending html autoreplies care to share their 
>> method?  I'm 
> 
> sqwebmail-generated autoreplies are always plain text.

Ha, that explains why my html formatting was coming through as plain text.  
Instead I
copied the html formatting to a file and modified my .mailfilter as such:

if ((1))
{
     AUTOREPLYFROM=$FROM
    `/usr/lib/courier/bin/mailbot -A "X-Sender: $FROM" -A "Content-Type: 
text/html;
charset=ISO-8859-1" -A "Content-Transfer-Encoding: 7bit" -A "From: 
$AUTOREPLYFROM" -m
"./Maildir/autoresponses/reply" $SENDMAIL -t -f ""`
}

Thanks for the tip.

-Scott


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to