Cyclone3 Skin

TOM::Net::email

From Cyclone3 Wiki

E-mail sending toolbox.

send()

This is used to send email.

Actually this makes an entry in an a130, which is later processed by the cron subsystem and sent in a batch.


Syntax:

TOM::Net::email::send
(
 'md5'			=> $message_md5,
 'to_name'		=> "Name, Surname",
 'to_email'		=> "mail@mailserver.tld,mail2@mailserver2.tld",
 'from_service'		=> "customerservice",
 'from_name'		=> "My Website",
 'from_email'		=> "no-reply@mywebsite.tld",
 'body'			=> $emailbody,
 'priority'		=> 1,
);

convert_TO()

Syntax: