Hi everyone,
still need some basic help. Invested some time, but could not figure out, why this script does not erase the email on the sever, once it was downloaded and also, why it won`t take a relative path.
An absolute path works fine, not the relative one entered here.
Any comment appreciated.
//First Setup - Keep the setting of the checkbox
IfFileExists>%SCRIPT_DIR%CheckBoxSetting.ini,Continue
WriteLn>%SCRIPT_DIR%CheckBoxSetting.ini,wresult,[Setting]
WriteLn>%SCRIPT_DIR%CheckBoxSetting.ini,wresult,CheckBox=False
Label>Continue
ReadIniFile>%SCRIPT_DIR%CheckBoxSetting.ini,Setting,CheckBox,CheckBoxSetting
Dialog>Dialog1
Caption=Setup DARP
Width=314
Height=94
Top=112
Left=46
CheckBox=msCheckBox1,Mail nach Abruf löschen,40,24,140,%CheckBoxSetting%
Button=Ok,176,24,75,25,3
EndDialog>Dialog1
Show>Dialog1,r1
If>%DIALOG1.MSCHECKBOX1%=False
EditIniFile>%SCRIPT_DIR%CheckBoxSetting.ini,Setting,CheckBox,FALSE
Else
EditIniFile>%SCRIPT_DIR%CheckBoxSetting.ini,Setting,CheckBox,TRUE
EndIf
//Email-Testbox
Let>POP3_STATUS=0
Let>POP3_MSGSIZELIMIT=0
Let>POP3_TIMEOUT=15
RetrievePOP3>pop1.1und1.de,[email protected],testitbaby1,./
Separate>POP3_MSGFILES,;,TestFiles
MDL>Checkbox = %CheckBoxSetting%
Email s not erased on the server / relative path?
Moderators: Dorian (MJT support), JRL
-
- Pro Scripter
- Posts: 68
- Joined: Wed Dec 07, 2005 7:13 am
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
As the help file states, to delete the messages on the server use:
Let>POP3_DELETE=1
By default it will leave mail on the server.
You need to specify a full path. If you want a path relative to the script use the %SCRIPT_DIR% variable:
RetrievePOP3>pop1.1und1.de,[email protected],testitbaby1,%SCRIPT_DIR%
or
RetrievePOP3>pop1.1und1.de,[email protected],testitbaby1,%SCRIPT_DIR%\messages
etc
Let>POP3_DELETE=1
By default it will leave mail on the server.
You need to specify a full path. If you want a path relative to the script use the %SCRIPT_DIR% variable:
RetrievePOP3>pop1.1und1.de,[email protected],testitbaby1,%SCRIPT_DIR%
or
RetrievePOP3>pop1.1und1.de,[email protected],testitbaby1,%SCRIPT_DIR%\messages
etc
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?