![]() |
|
![]() |
| SendEmail |
procedure SendEmail
(objectName : in string;
MailServerName : in string;
ReceiverEmailAddress : in string;
CCEmailAddress : in string;
SenderName : in string;
SenderEmailAddress : in string;
SubjectLine : in string;
Message : in string;
Success : in out 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 : string
-- The name given the object when declared in Thor.
--
-- MailServerName : string
-- The name of the SMTP server that will handle the message.
--
-- ReceiverEmailAddress : string
-- The email address of the person who will receive this message.
--
-- CCEmailAddress : string
-- Any email address that should be a CC to this message.
--
-- SenderName : string
-- The name (not the email address) of the sender of the email.
--
-- SenderEmailAddress : string
-- The email address of the sender of the email.
--
-- SubjectLine : string
-- The subject line of the message.
--
-- Message : string
-- 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