Consulting

Results 1 to 2 of 2

Thread: Read email Outlook 2003

  1. #1
    VBAX Newbie
    Joined
    Dec 2010
    Posts
    1
    Location

    Read email Outlook 2003

    Hi all

    I have a project where it requires email notification automation. I will recieve and email that will always have the same subject line and will contain in the email a file name. The file name is always on the same line.

    What i want a script to be able to do is read the email and take out the file name and create a text file then dump just the file name into the text file.

    So in a nutshell in really simple terms.

    1. i create a rule in outlook which says anything with the subject header 'file ready for download' start VBA script.

    2. Vba script to read email and take out file name.
    3.Create a text file in C:\curl\TMPfilename.txt
    4.put file name in above text file.
    5.start batch file C:\curl\getfile.bat
    END

    Is this possible? or is this asking to much from a VBA script?
    Just a word of warning! I have no idea about VBA, i wouldnt know where to start, i can attach a template of the email i will recieve if you need it.

    Many Thanks

  2. #2
    Yes, this is possible. Last month we had a similar question, check it out: http://www.vbaexpress.com/forum/showthread.php?t=34864

Posting Permissions

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