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 have > > writer.addheader("To", some_recipient_address(es)_as_a_string) > > 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. >
as an afterthought, you should also add date & msg-id headers, or your emails may fall foul of spam-filters. -- Tim Williams -- http://mail.python.org/mailman/listinfo/python-list