At 02:47 PM 1/30/2013, Karen Tellef wrote:
When you use the "email on" parameter of the Print statement, is there
any way to error check whether the email was sent? This would be run
using version 9.5.
FWIW ...
In addition to totally automated, fully customized, and error checking
log, you may consider using R:Mail 9.5 as a swift solution using R:BASE!
R:Mail 9.5 provides the option to create a log for all email messages.
A separate log file is created for every R:BASE session that launches
R:Mail 9.5.
http://www.rbase.com/products/rmail95
In a command file, you may capture the error message, and then display
that exact error message accordingly, if you wish.
Here's a snippet from a very complex application designed and deployed
for one of my BIG clients using a totally automated and menu-driven
secure e-mail module including R:Mail 9.5 with R:BASE eXtreme 9.5 (64).
-- All variables are pre-defined here ...
-- All reports are prepared as secured PDF ...
-- All RMail95 parameters and options are defined here ...
-- Now Ready to send secure e-mail using R:Mail 9.5 ...
SET VAR vRMailStatus TEXT = NULL
PLUGIN RMail95 vRMailStatus|SEND
IF vRMailStatus <> 'OK' THEN
PLUGIN RMail95 v1|HIDE PROGRESS
PLUGIN RMail95 v1|CLEAR_ALL
CLS
PAUSE 2 USING .vRMailStatus +
CAPTION .vCaption ICON WARNING +
BUTTON 'Press any key to continue ...' +
OPTION MESSAGE_FONT_NAME Tahoma +
|MESSAGE_FONT_COLOR RED +
|MESSAGE_FONT_SIZE 10 +
|THEMENAME Longhorn
GOTO Done
ENDIF
-- More stuff here ...
Very Best R:egards,
Razzak.
www.rbase.com
www.facebook.com/rbase