views:

31

answers:

1

Hi,

I'm making a program which sends invoices to registered users as PDF attachment. Each invoice is identified by a GUID. In some circumstances I want to be able to find programmatically the GUID from mail without reading PDF file.

Can I use mail header field to include invoice GUID, or it is a bad practice and mail header fields are not for this purpose?

+1  A: 

It is common practice to use "X-HeaderName" to designate non-standardized headers.

Yann Ramin