At ServerGrove we know the power of frameworks, so we have pre-installed Zend Framework for your convenience.
We have installed Zend Framework in all our servers, so to use it in your site within ServerGrove’s servers, follow this example:
/** Start code **/
$mail = new Zend_Mail();
$mail->setBodyText(‘This is the text of the mail.’);
$mail->addTo(‘firstname.lastname@example.org’, ‘Recipient Name’);
print “email sent”;
/** End code **/
Please make sure that PHP Safe mode is disabled. To turn off safe mode, login to the control panel and under the Setup section of the domain, uncheck the option for safe mode.
If you are not sure, contact us.