/ Published in: Symfony
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
 $mailer = sfContext::getInstance()->getMailer(); sfContext::getInstance()->getConfiguration()->loadHelpers(array('Partial')); $message = $mailer->compose(array('[email protected]' => 'Test mail'), 'Test'); $message->setBody(get_partial('global/userMailPartial'), 'text/html'); $mailer->send($message);
Comments
                    Subscribe to comments
                
                