Reading an Email from a POP3 server

General Macro Scheduler discussion

Moderators: Dorian (MJT support), JRL

Post Reply
LEBEGUE
Newbie
Posts: 3
Joined: Tue Jan 21, 2003 9:02 pm

Reading an Email from a POP3 server

Post by LEBEGUE » Thu Feb 06, 2003 4:33 pm

Hello,
Who knows the way to read an Email from a POP3 server. In other terms, I search a Macro Scheduler command to read my email server something like: PopReadMail with fields dedicated to sender, subject and text.
Regards
JML

Lumumba

Post by Lumumba » Fri Feb 07, 2003 7:13 pm

Have a look at this: GetMail
Cause this is a commandline tool (free for personal use) you can easily combine it with Macro Schedulers Run Program> command.

BTW: A sender equivalent is: Blat! (which you won't need cause Macro Scheduler has his own SMTPSendMail> command).

LEBEGUE
Newbie
Posts: 3
Joined: Tue Jan 21, 2003 9:02 pm

Getting Email from Pop3 server

Post by LEBEGUE » Sat Feb 08, 2003 8:52 am

Hello,

I will try this URL and give you result after testing.

Regards
JML

LEBEGUE
Newbie
Posts: 3
Joined: Tue Jan 21, 2003 9:02 pm

Testing GetMail from Tim Charron

Post by LEBEGUE » Mon Feb 10, 2003 3:59 pm

Hello,
After testing, this Email pop reader is the good product for my need. It's running fine after adjustments
The getmail.exe is just installed in the winnt/system32 directory.
My code is as follow:


Label>receiving

Run Program>Getmail -dir c:\mail\
Wait>1
Run Program>Getmail -install pop.free.fr yourlogin passwordblabla yes yes 3 110
Wait>1
Run Program>Getmail -dir c:\mail\
Wait>1
Run Program>Getmail -pw yourpassword
Wait>
Run Program>Getmail -delete

Label>fin
Message>End reception


Thanks for your utility recommandation.

Best regards

Jean-Michel

User avatar
support
Automation Wizard
Posts: 1450
Joined: Sat Oct 19, 2002 4:38 pm
Location: London
Contact:

Post by support » Mon Feb 10, 2003 6:56 pm

Hi,

If using version 7.1 I would set RP_WAIT to 1 before running this script to ensure that each Run Program>GETMAIL completes before the next step. You can then avoid the Wait> statements and it ensures that the script won't fail if for example the first GETMAIL operation takes longer than a second to complete.

Let>RP_WAIT=1
Run>GETMAIL etc etc
etc
MJT Net Support
[email protected]

Lumumba

Post by Lumumba » Mon Feb 10, 2003 7:14 pm

Check if the single commands (you send now with seperate GetMail statements) can be written to a single file which will be read by GetMail while executed.

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