Tag Archives: mail

Requirements for sending e-mails from PHP

Description: We need to send e-mails directly from a PHP script. Solution: First, in php.ini the smtp port should be set to 25, but this is usually by default. To locate your php.ini file in the server configuration you can use … Continue reading

Posted in Linux, PhP, Wordpress | Tagged , , , , , , | Leave a comment

Send e-mail with attachments in Zend Framework

Description: Send an e-mail containing attachments with Zend Framework. Solution: Zend offers an easier solution for sending e-mail with attachements than plain PhP.  Basically the object has to be instantiated and then just configuring the parameters. Example: $email_body = “<div>Body … Continue reading

Posted in PhP, Tools | Tagged , , | Leave a comment