Jump to content

Finding text inside an attachment and then using it in a database

Recommended Posts


I am brand new to AutoIt. I have inherited an AutoIt script / Macro that used to work by fetching text information inside and email and that would then populate a database. The problem is that we no longer receive the text data inside the email, but as an attachment to the email.

I now have to somehow open the attachment and find the data, but I am not sure at all about how to go about it.

Can anyone point me in a direction please?

Many thanks


Link to post
Share on other sites
  • Moderators

Hi, hcawood, welcome to the forums. You didn't specifiy which email application you're using, but if it is Exchange/Outlook, you should take a look through Water's OutlookEX UDF, found at the link below. Look specifically at ItemAttachmentSave.au3, which will allow you to save an attachment, which you could then read from.

Edited by JLogan3o13

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...