Outlook Processing new messages

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
toopnad
Junior Coder
Posts: 34
Joined: Mon Apr 12, 2021 10:10 am
Location: Russian Totalitarian Republic, Perm city

Outlook Processing new messages

Post by toopnad » Mon Apr 12, 2021 10:49 am

The task is simple:
1.open Outlook, check only new messages, Of all messages that contain excel files starting with the word "Request" (Request * .xlsx), you need to save the attachments in the desired folder: (D: \ Exchange \ Robotization \ Robo_mail \ Answers)
Please write the code with comments if you have a minute for 'Newbie'

User avatar
Dorian (MJT support)
Automation Wizard
Posts: 1347
Joined: Sun Nov 03, 2002 3:19 am
Contact:

Re: Outlook Processing new messages

Post by Dorian (MJT support) » Mon Apr 12, 2021 2:13 pm

Automating Outlook can be quite challenging and cumbersome. Luckily, we don't need to. By far the best way of doing this is to automate the incoming email with RetrievePop3.

This will save any attachments wherever you like, and there is a usage example at the URL linked above.
Yes, we have a Custom Scripting Service. Message me or go here

toopnad
Junior Coder
Posts: 34
Joined: Mon Apr 12, 2021 10:10 am
Location: Russian Totalitarian Republic, Perm city

Re: Outlook Processing new messages

Post by toopnad » Tue Apr 13, 2021 4:15 am

A very elegant and simple solution, but I do not understand how I can sort the letters into the necessary ones and not.

toopnad
Junior Coder
Posts: 34
Joined: Mon Apr 12, 2021 10:10 am
Location: Russian Totalitarian Republic, Perm city

Re: Outlook Processing new messages

Post by toopnad » Tue Apr 13, 2021 4:29 am

Sorry for my Newbie))) I have a problem with SSL encryption and I can solve it using the methods described in https://www.mjtnet.com/blog/2012/05/18/ ... f-openssl/
Failed (
let>POP3_SSL=1 Doesn't work
Working without SSL/TLS encryption is not allowed. Please visit https://yandex.ru/support/mail-new/mail ... s/ssl.html sc=2NJVY8w6U0U1_130923_2-d2e391124abe

User avatar
Marcus Tettmar
Site Admin
Posts: 7376
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: Outlook Processing new messages

Post by Marcus Tettmar » Mon Apr 19, 2021 10:11 pm

You probably also need to set the PORT number. Maybe this will help:
https://help.mjtnet.com/article/4-sendi ... -gmail-ssl

However, you should consult your email provider's docs to find out what settings are required.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts