Lasso Soft Inc. > Home


AuthorJason Huck
LicensePublic Domain
Posted02 Aug 2007
Updated02 Aug 2007
More by this author...


Checks the specified POP account for messages. Optionally deletes the messages from the server. Returns an array of pairs. The key for each pair is the UID for the message and the value is the parsed message object.

Sample Usage

var('msgs') = email_check(

Source Code

Click the "Download" button below to retrieve a copy of this tag, including the complete documentation and sample usage shown on this page. Place the downloaded ".inc" file in your LassoStartup folder, restart Lasso, and you can begin using this tag immediately.

	-opt='delete', -type='boolean',
	-description='Checks the specified POP account for messages.'
	!local_defined('delete') ? local('delete') = false;
	local('pop') = email_pop(
	null(#pop->size); // workaround for bug in LP8.5.3b1
	local('msgs') = array;
	iterate(#pop, local('i'));
		#msgs->insert(#i = email_parse(#pop->retrieve));
		#delete ? #pop->delete(loop_count);

Related Tags


No comments

Please log in to comment

LassoSoft Inc. > Home



©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft