Adds multiple recipients if recipient is
an array.
Parameters
recipient
Email address string or array of email
addresses
addReplyTo( replyto : array ) : void
Sets the reply-to email address and name. replyto can be an array of two elements
array('email@address', 'name') or an array of arrays in this format.
Parameters from Email address array
Appendix
[ 426 ]
static &getInstance( id : string='Joomla' ) : JMail
Gets a reference to a global instance of a JMail object. If the object does not exist it will be
created. id identifies the JMail object to return.
Parameters [id] JMail ID
Returns Reference to a global JMail object
&Send( ) : mixed
Sends the email.
Returns true on success, error on failure
setBody( content : string ) : void
Sets the email body.
Parameters content Email body
setSender( from : mixed ) : void
Sets the sender's email address and name. from can either be an array of two elements??”
array('email@address', 'name')??”or a string consisting of one email address
Parameters
from
Email address string or array of email
address and email name
setSubject( subject : string ) : void
Sets the email subject line.
Pages:
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590