If you look into the header of an email message, you will find a key called message-id, the value looks something like <[email protected]> this message id is for example used when you reply to a mail then the header contains something like In-Reply-To: <[email protected]>
I am currently working on a mailing-list plugin and for that I need the message ids of the outgoing mails to see if incoming mails are answers to resend incoming mails. This way I can build up a nice treaded/tree view for all email communication. Btw wouldn't it be nice to have a completely web2py based platform for all web2py communication ;-) On Nov 22, 2:39 pm, mdipierro <[email protected]> wrote: > What is the "message-id"? > > On Nov 22, 6:02 am, selecta <[email protected]> wrote: > > > > > I was wondering if there is a proper way to get the message-id of a > > send mail. > > mail.send just returns true or false > > So far I tried to send the mail also to my own account and guess from > > comparing header and body that this is the mail that I send out. This > > however gives me quite some headaches with all the different character > > encodings ... > > > Is there a better way to get the message-id of a send mail?

