acs_mail_lite::send_immediately (private)

 acs_mail_lite::send_immediately [ -valid_email_p valid_email_p ] \
    -to_addr to_addr [ -cc_addr cc_addr ] [ -bcc_addr bcc_addr ] \
    -from_addr from_addr [ -reply_to reply_to ] [ -subject subject ] \
    -body body [ -package_id package_id ] [ -file_ids file_ids ] \
    [ -filesystem_files filesystem_files ] \
    [ -delete_filesystem_files_p delete_filesystem_files_p ] \
    [ -mime_type mime_type ] [ -no_callback_p no_callback_p ] \
    [ -extraheaders extraheaders ] [ -use_sender_p use_sender_p ] \
    [ -object_id object_id ] \
    [ -force_delivery_mode force_delivery_mode ]

Defined in packages/acs-mail-lite/tcl/acs-mail-lite-procs.tcl

Prepare an email to be sent immediately. Various email attributes can be specified, such as subject, body, senders, recipients, attachments and so on. The proc relies on MIME and SMTP.

Switches:
-valid_email_p
(defaults to "0") (optional)
-to_addr
(required)
List of e-mail addresses to send this mail to.
-cc_addr
(optional)
List of CC Users e-mail addresses to send this mail to.
-bcc_addr
(optional)
List of CC Users e-mail addresses to send this mail to.
-from_addr
(required)
E-Mail address of the sender.
-reply_to
(optional)
E-Mail address to which replies should go. Defaults to from_addr
-subject
(optional)
of the email
-body
(required)
Text body of the email
-package_id
(optional)
Package ID of the sending package
-file_ids
(optional)
List of file ids (items or revisions) to be sent as attachments. This will only work with files stored in the file-storage.
-filesystem_files
(optional)
List of regular files on the filesystem to be sent as attachments.
-delete_filesystem_files_p
(defaults to "0") (optional)
Decides if we want files specified by the 'file' parameter to be deleted once sent.
-mime_type
(defaults to "text/plain") (optional)
MIME Type of the mail to send out. Can be "text/plain", "text/html".
-no_callback_p
(defaults to "0") (optional)
Indicates if callback should be executed or not. If you don't provide it it will execute callbacks.
-extraheaders
(optional)
List of keywords and their values passed in for headers. Interesting ones are: "Precedence: list" to disable autoreplies and mark this as a list message. This is as list of lists !!
-use_sender_p
(defaults to "0") (optional)
Boolean indicating that from_addr should be used regardless of fixed-sender parameter
-object_id
(optional)
Object id that caused this email to be sent
-force_delivery_mode
(optional)
Force the specified delivery mode for this single call

Partial Call Graph (max 5 caller/called nodes):
%3 acs_mail_lite::send acs_mail_lite::send (public) acs_mail_lite::send_immediately acs_mail_lite::send_immediately acs_mail_lite::send->acs_mail_lite::send_immediately acs_mail_lite::sweeper acs_mail_lite::sweeper (private) acs_mail_lite::sweeper->acs_mail_lite::send_immediately acs_mail_lite::bounce_address acs_mail_lite::bounce_address (private) acs_mail_lite::send_immediately->acs_mail_lite::bounce_address acs_mail_lite::encode_email_address acs_mail_lite::encode_email_address (private) acs_mail_lite::send_immediately->acs_mail_lite::encode_email_address acs_mail_lite::get_delivery_parameters acs_mail_lite::get_delivery_parameters (private) acs_mail_lite::send_immediately->acs_mail_lite::get_delivery_parameters acs_mail_lite::get_package_id acs_mail_lite::get_package_id (private) acs_mail_lite::send_immediately->acs_mail_lite::get_package_id acs_mail_lite::smtp acs_mail_lite::smtp (private) acs_mail_lite::send_immediately->acs_mail_lite::smtp

Testcases:
No testcase defined.
[ show source ]
Show another procedure: