Results 1 to 3 of 3

Thread: CDO and the attachments...

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2000
    Posts
    323
    Every time I send mail using an online form I have created (using CDO) it sends an attachment with jumbled informaiton in it. Is there a way to stop the attachment from being sent? Thanks for any help.
    If you think education is expensive, try ignorance.

  2. #2
    Lively Member harsoni's Avatar
    Join Date
    Oct 2000
    Posts
    118

    Arrow

    Set mail = Server.CreateObject("CDONTS.NewMail")
    if not (mail is nothing ) then
    mail.From = strName
    mail.bcc = emailId
    mail.Cc = senderID
    mail.To = ''mail.To"
    mail.Subject ="ahdjsa"
    mail.Body = sBody
    mail.BodyFormat = 0
    mail.MailFormat = 0
    mail.Send
    Set mail = Nothing

    try using like this

    Sonia

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2000
    Posts
    323
    Thank you. I tested it a few ways and mail.MailFormat = 0 was the key. Thanks again.
    If you think education is expensive, try ignorance.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width