Jump to content
Sign in to follow this  

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


Share this post

Link to post
Share on other sites

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

√-1 2^3 ∑ π, and it was delicious!

Share this post

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
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.