API17

API17:JMail::setSender

From Joomla! Documentation

Joomla 11.1 JMail::setSender

Description

Set the email sender.


public function setSender ($from)
Parameter Type Default Description
$from array email address and Name of sender
  • Returns Returns this object for chaining.
  • Defined on line 94 of libraries/joomla/mail/mail.php
  • Since Joomla 11.1

See also


User contributed notes

Code Examples