Barry For example, this is the header part of a .cfmail file
///////////////////////////////////////////////////////// type: text/plain; charset=UTF-8 server: MAILSERVER:25 from: [email protected] to: [email protected] subject: this is a mail file X-Mailer: ColdFusion 8 Application Server ///////////////////////////////////////////////////////// What I am wanting to do, as a default thing for ALL mail generated by CFMAIL for any domain or application WITHOUT having to use CFMAILPARAM is to add another entry into the mail file like... ///////////////////////////////////////////////////////// type: text/plain; charset=UTF-8 server: MAILSERVER:25 from: [email protected] to: [email protected] subject: this is a mail file X-Mailer: ColdFusion 8 Application Server X-Date: 2009-12-12 ///////////////////////////////////////////////////////// Currently there is no way of getting the dateCreated value for a file, only lastModified and I want to know the original datetime the mail item was created. I am creating a little app to process mail that is being pushed into the undelivered folder for coldfusion server which is why I want to look at doing this. If it is possible, it would be handy to add other properties also such as the domain name used when the cfmail tag was called so I can track down the original creator of emails. Steve -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Barry Beattie Sent: Saturday, 23 May 2009 5:49 PM To: [email protected] Subject: [cfaussie] Re: CFMAIL headers Steve, just curious and interested to see this thread kicked along... ... is something like the X-DATE you want to do covered in any RFC's on email? eg: RFC 5321 or perhaps part of the extended SMTP additions? just hoping there might be a spec that covered it and - perhaps by miracle - painlessly supported by <CFMAIL />? just thinking out loud... On Fri, May 22, 2009 at 12:50 PM, Steve Onnis <[email protected]> wrote: > Does anyone know if it is possible to add additional headers into the CFMAIL > process other than individually setting them for each <CFMAIL> call? > Currently there is an X-MAILER property there, i would like to add a X-DATE > or something named similar so i can read when the mail item was created as i > dont want to have to do a CFDIRECTORY just to get the created time > stamp.......unless there is a better way?? > > Steve > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~----------~----~----~----~------~----~------~--~---
