![]() |
|
![]() |
| SendEmail |
PROCEDURE SendEmail
(CONST objectName : ARRAY OF CHAR;
CONST MailServerName : ARRAY OF CHAR;
CONST ReceiverEmailAddress : ARRAY OF CHAR;
CONST CCEmailAddress : ARRAY OF CHAR;
CONST SenderName : ARRAY OF CHAR;
CONST SenderEmailAddress : ARRAY OF CHAR;
CONST SubjectLine : ARRAY OF CHAR;
CONST Message : ARRAY OF CHAR;
VAR Success : BOOLEAN);
(**
SendEMail - Send an email. (Requires SageST_Objects.dll).
This procedure will send an email to the specified address.
NOTE - If you define an SMTP object in Thor and want to call
it from this package then you MUST have SageST_Objects.dll
in the directory with the program .EXE file or in the system's
search path.
Also note that the absolue minimum that you must pass is the
MailServerName, ReceiverEmailAddress and SenderEmailAddress or
the routine will fail.
CALLING SEQUENCE -
SendEmail (ObjectName, MailServerName, ReceiverEmailAddress,
CCEmailAddress, SenderName, SenderEmailAddress,
SubjectLine, Message, Success)
ENTRY -
ObjectName : ARRAY OF CHAR
The name given the object when declared in Thor.
MailServerName : ARRAY OF CHAR
The name of the SMTP server that will handle the message.
ReceiverEmailAddress : ARRAY OF CHAR
The email address of the person who will receive this message.
CCEmailAddress : ARRAY OF CHAR
Any email address that should be a CC to this message.
SenderName : ARRAY OF CHAR
The name (not the email address) of the sender of the email.
SenderEmailAddress : ARRAY OF CHAR
The email address of the sender of the email.
SubjectLine : ARRAY OF CHAR
The subject line of the message.
Message : ARRAY OF CHAR
The text of the message.
EXIT -
Success : BOOLEAN
TRUE - Message was successfully sent.
FALSE - Some problem prevented the message from being sent.
*)
Send mail to
warren.merrill@inl.gov
with questions or comments about this web site.
Copyright © 1989-2006 Battelle Energy Alliance