I posted in the exchange 2000 developer MS newsgroup over the weekend and still have no response. I'm hoping someone here either knows the answer to this or can tell me where to go to get help.
re: cdoMsg.Fields.Item("urn:schemas:mailheader:received").Value
There appears to be a bug in this. The docs say:
This field contains all of the Received: headers for the message, delimited by a carriage return/line feed delimiter (\r\n).
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/_cdo_schema_mailheader_received.aspBut it only returns the last server on my system. Does anyone know of a work around for this? I am writing a spam filter using ISMTPOnArrival_OnArrival in VBScript and a VFP OLEPUBLIC control to do the work.
This is a major problem for me as I need the spammer's IP address. My server is backed up by my ISP servers and a lot of my SPAM is coming in with the IP address of my ISP's server instead of the spammer's IP address. When I look at the headers of the actual message in Outlook all if the received IP addresses do exist.
Any help with this is greatly appreciated, if only just to let me know where to look/go for the answer.
Thanks
John Fenton