+ Reply to Thread
Results 1 to 2 of 2

Check for attachment but ignore signature

  1. #1
    Forum Contributor
    Join Date
    07-07-2005
    Location
    England
    MS-Off Ver
    Office 2019 Enterprise
    Posts
    462

    Check for attachment but ignore signature

    Hi, I've seen many examples of code to check for missing attachments before sending an e-mail and I using on at the moment. Only problem is that if I am forwarding an e-mail from someone who uses a jpg signature in the body of his email then my code accepts this as an attachment.

    Is there any way to check to see if the attachment is proper (i.e in the field under subject) or just in the body of the email?

    Thanks
    John

  2. #2
    Forum Contributor
    Join Date
    07-07-2005
    Location
    England
    MS-Off Ver
    Office 2019 Enterprise
    Posts
    462

    Re: Check for attachment but ignore signature

    Ive worked it out now

    Item.Attachments(i).Position = 0

    if position is 0 then its not in the body of the email (i.e what I would call a genuine attachment)

    Thanks anyway

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1