It gets the attachment from a field, within the web form, that the user can
browse to the required file. I believe the files that the users need to
attach are on their individual computers. If I put
(trim(Request.F orm("attachedfi le"))) inplace for the subject it does return
the valid path to the file along with the file name ie: c:\jason.txt.
Thanks for any help you can provide........ ....Jason
dim MailObj
set MailObj = Server.CreateOb ject("CDONTS.Ne wMail")
MailObj.To = "va***@realemai l.com"
MailObj.From = trim(Request.Fo rm("txtOriginat orMailID"))
MailObj.AttachF ile (trim(Request.F orm("attachedfi le")))
MailObj.Subject = "sending"
MailObj.Body = rstreg
MailObj.BodyFor mat = 0
MailObj.MailFor mat = 0
MailObj.Send
set MailObj = nothing
"Curt_C [MVP]" wrote:
1) Show the code
2) where is the attachment stored? On the SERVER right?
--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com
"Jason Steeves" wrote:
I am using cdonts to send mail messages with an attachment. The problem I am
having is the messages are going through OK but the attachments are not
there. Any ideas? I have tried my code elsewhere and it looks
OK...........Ja son