Hi there, let me ask something about the body message. I would like to apply a css style to the body mail, how could I define it?
Regards On 19 ago, 15:34, adrianrz <[email protected]> wrote: > Hi, > > I've installed nahoMail plugin to manage more easily the mail sends, > but when I attach a pdf file put mime type of the mail as multipart/ > mixed and dont see the body > > Here is the code that i use > > $options = array( > 'from' => sfConfig::get('app_email_administration'), > 'attachments' => array( > array('path' => sfConfig::get > ('app_dir_archives').'archiveX.pdf', > 'mime-type' => 'application/ > pdf') > )); > > $bodyhtml = 'Some text<br /><br />' > .'More text.<br /><br />' > .'Thanks.<br /><br />' > '; > > $body = array ( > 'content' => $body2, > 'content-type' => 'text/html' > ); > > $subject = 'the subject'; > > return nahoMail::send($subject, $body, $to2, $options) ; > > I have the mime type problem only If I send both main (html or text) > body and file attachment. If I send only a body text without > attachment, the mime type is the right: text/html or text/plain. > > This is the mail detail > X-Message-Delivery: Vj0xLjE7dXM9MDtsPTA7YT0wO0Q9MTtTQ0w9MQ== > X-Message-Status: n:0 > X-SID-PRA: [email protected] > X-Message-Info: > JGTYoYF78jEkRM1DJyXKT3zkQ6Qxt3uVZBbqJt96FTQY5H37nU8+IdG3vnXQTAeQoifvmf2qqZqrYPE3n4uro6dAJLVQQFnq > Received: from host.myiserver.com ([89.248.110.248]) by col0-mc1- > f30.Col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); > Wed, 19 Aug 2009 13:07:05 -0700 > Received: (qmail 1229 invoked by uid 48); 19 Aug 2009 22:07:04 +0200 > To: [email protected] > Subject: The subject. > X-PHP-Script:www.misite.com/index.phpfor 190.17.245.115 > From: [email protected] > Reply-To: [email protected] > Date: Wed, 19 Aug 2009 22:07:04 +0200 > X-LibVersion: 3.3.2 > MIME-Version: 1.0 > Content-Type: multipart/mixed; > boundary="_=_swift-1273588184a8c5b68447989.18413544_=_" > Content-Transfer-Encoding: 7bit > Message-ID: <[email protected]> > Return-Path: [email protected] > X-OriginalArrivalTime: 19 Aug 2009 20:07:05.0467 (UTC) FILETIME= > [9F9AFCB0:01CA2108] > > Some text<br /><br />'More text.<br /><br />'Thanks.<br /><br /> > --_=_swift-1273588184a8c5b68447989.18413544_=_ > Content-Type: application/pdf; name=facitv090236.pdf > Content-Transfer-Encoding: base64 > Content-Description: archiveX.pdf > Content-Disposition: attachment; filename=archiveX.pdf > > JVBERi0xLjcKMyAwIG9iago8PC9UeXBlIC9QYWdlCi9QYXJlbnQgMSAwIFIKL01lZGlhQm94IFsw > IDAgNTk1LjI4IDg0MS44OV0KL1Jlc291cmNlcyAyIDAgUgovQ29udGVudHMgNCAwIFI > +PgplbmRv > YmoKNCAwIG9iago8PC9GaWx0ZXIgL0ZsYXRlRGVjb2RlIC9MZW5ndGggOTc5Pj4Kc3RyZWFtCnic > 1VjbctpIEH3nK/olVUmV3cx9NH7D9jpFKvbGtrIvSR5mQSHaAuTI2FvJ037K/mN > +IC0QZrgaOYgk > 5QKZkTSn+5zuMxox1Bb+BQav6PMPvPtAhy59XtKn1ziOoXnGgQtkDOKP8Efc > +PwwyIJB4IqjlXQT > AxOhjkAJ1AKsdsgVdAbQbHM4zeBy/ > lrNkUtQ3KGWYK0p7hxfLCYXj7EE3THDYo9FLIzEiEPEDDIF > cRfePT9rncRvr1ovPkD8qphjOi2rMi1l5BjYyBaxjqc9yW7y7BbO7/ > qjdJB0U38At9jHeRheDYY7...... > > I hope someone can help me. > > Regards > > Adrián Ruiz > Rosario - Argentina --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
