Re: Adding sender name to email

2006-09-02 Thread Jorgen Grahn
On Fri, 1 Sep 2006 11:51:55 +0100, Tim Williams <[EMAIL PROTECTED]> wrote: ... > The smtp sender & recipients do not relate to the sender & recipients > in the email itself, Often they are the same, but they don't have to > be. To complicate things a bit more, using the term "sender" can invite c

Re: Adding sender name to email

2006-09-01 Thread Tim Williams
On 01/09/06, Tim Williams <[EMAIL PROTECTED]> wrote: > On 1 Sep 2006 03:26:12 -0700, [EMAIL PROTECTED] > <[EMAIL PROTECTED]> wrote: > > How do I add a Sender name to the emails sent by the following script: > > > add the line > > writer.addheader("From", a_sender_address) > > and you should also ha

Re: Adding sender name to email

2006-09-01 Thread Tim Williams
On 1 Sep 2006 03:26:12 -0700, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > How do I add a Sender name to the emails sent by the following script: > > > writer = MimeWriter.MimeWriter(out) > # set up some basic headers... we put subject here > # because smtplib.sendmail ex

Adding sender name to email

2006-09-01 Thread gillespie . amanda
How do I add a Sender name to the emails sent by the following script: def createhtmlmail (html, text, subject): """Create a mime-message that will render HTML in popular MUAs, text in better ones""" import MimeWriter import mimetools import cStringIO