details
08-26-2002, 07:16 PM
I am using CDONTS to e-mail attachments using
objMail.AttachFile("e:\web\attachments\direcway.htm")
My customer has several agreements that must be e-mailed depending on product purchased. Is there a way to dynamically create this attachment. ex......
if strAgreement = "dir" then
objMail.AttachFile("e:\web\attachments\dir.htm")
else if strAgreement = "dirt" then
objMail.AttachFile("e:\web\attachments\dir2.htm")
end if
end if
Any ideas, or am I make something simple - difficult?
objMail.AttachFile("e:\web\attachments\direcway.htm")
My customer has several agreements that must be e-mailed depending on product purchased. Is there a way to dynamically create this attachment. ex......
if strAgreement = "dir" then
objMail.AttachFile("e:\web\attachments\dir.htm")
else if strAgreement = "dirt" then
objMail.AttachFile("e:\web\attachments\dir2.htm")
end if
end if
Any ideas, or am I make something simple - difficult?