I would like to send an email from built-in function with the espocrm, can you help me?
Send an email from built-in function with the espocrm
Collapse
X
-
PHP Code:$email = $this->getEntityManager()->getEntity('Email'); $email->set(array( 'to' => 'address@address', 'name' => 'subject', 'body' => 'body', 'isHtml' => true )); $this->getEmailSender()->send($email);
If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.
Comment