I am getting the following errors, trying to setup my webform to use Swift Mailer on GoDaddy's cPanel, Linux hosting service.
What am I doing wrong?
Beginning at line 57, the code (emails hidden) is:
$mailer = Swift_Mailer::newInstance($transort);
$message = Swift_Message::newInstance('Web Inquiry')
->setFrom (array('[email protected]' -> 'Web Inquiry'))
->setTo (array('[email protected]' -> 'Inquiry Recipients'))
->setBcc (array('[email protected]' -> 'Inquiry BCC Recipient, respond from [email protected]'))
->setSubject (array('Inquiry from email.com'))
->setBody (array($data, 'text/html'));