MvPOPCONTINUE#
Returns program flow to the top of the loop, performing the operations would normally occur at the bottom of the loop i.e. reading the next email.
Syntax
<MvPOPCONTINUE>
Example#
This example loops through and displays email messages. The <MvPOPCONTINUE>
tag is used to skip displaying messages if they return true from a user-defined function called SpamFilter()
.
<MvPOP MAILHOST="mail.my_isp.com"
LOGIN="my_userid"
PASSWORD="pa55w0rd"
DIRECTORY="mymail">
<MvCOMMENT> filter out spam </MvCOMMENT>
<MvIF EXPR="{ SpamFilter(messagesender, messagesubject, messagebody, messagereplyto) }">
<MvPOPCONTINUE>
</MvIF>
<p>You received mail from: <MvEVAL EXPR="{messagesender}">.<br>
This mail is about: <MvEVAL EXPR="{messagesubject}">.<br>
This mail was sent on: <MvEVAL EXPR="{messagedate}">.<br>
I stored this mail in the file: <MvEVAL EXPR="{messagebody}">.<br>
You can reply to: <MvEVAL EXPR="{messagereplyto}">.
</p>
</MvPOP>