You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
add in this example absolutely all available variables
public function sendMailExtended()
{
$this->mailService->setBody('Email body');
$this->mailService->addCC('config some value');
$this->mailService->addBCC('config another value');
$this->mailService->setSubject('Email subject');
$this->mailService->getMessage()->addTo('[email protected]', 'User name');
$this->mailService->getMessage()->setEncoding('utf-8');
return $this->mailService->send()->isValid();
}
document
how to send an email properly
in order to use all parameters in the email
The text was updated successfully, but these errors were encountered: