A
Andrew Hilton
Hello,
I am successfully sending emails with attachments using CDOSYS (CDO for
windows 2000). I use the AddAttachment method and pass a url to a web page
in our system that produces reports.
Is there any way the link used in AddAttachment can pass variables to the
body part or the message? The most obvious would be http header variables
returned in the response - but i haven't had any success with these, the
AddAttachment method seems to ignore them(inspecting ADO Fields collections
reveals the standard settings). Any ideas?
The reason I want to do this is to inspect a record count to determine if
the mail should be sent, at this stage it looks like I'll have to hide it in
the report and pull it out of the body part's ADO stream. Not the most
efficient method.
Thanks,
Andrew
I am successfully sending emails with attachments using CDOSYS (CDO for
windows 2000). I use the AddAttachment method and pass a url to a web page
in our system that produces reports.
Is there any way the link used in AddAttachment can pass variables to the
body part or the message? The most obvious would be http header variables
returned in the response - but i haven't had any success with these, the
AddAttachment method seems to ignore them(inspecting ADO Fields collections
reveals the standard settings). Any ideas?
The reason I want to do this is to inspect a record count to determine if
the mail should be sent, at this stage it looks like I'll have to hide it in
the report and pull it out of the body part's ADO stream. Not the most
efficient method.
Thanks,
Andrew