Yes I understood that from your first email :-). How about describing why you want to do that?
On Wed, Jan 6, 2016 at 10:04 PM, sonu kumar <[email protected]> wrote: > No, I am looking something like this > > --===============5406379004382951965== > MIME-Version: 1.0 > Content-Type: text/html; charset="utf-8" > Content-Transfer-Encoding: 7bit > <p>Hey there, thanks for creating your account.</p> > <p>Please use the link below to activate it.</p> > <p><a > href="http://127.0.0.1:8000/accounts/verify/8/48b-f01cf45fb6e9e3ffb8c0/?next=/users/go-goa">http://127.0.0.1:8000/accounts/verify/8/48b-f01cf45fb6e9e3ffb8c0/?next=/users/go-goa</a></p> > --===============5406379004382951965==-- > > Currently email is generated as > > Content-Type: multipart/alternative; > boundary="===============5406379004382951965==" > MIME-Version: 1.0 > Subject: Activate your account > From: webmaster@localhost > To: [email protected] > Date: Wed, 06 Jan 2016 05:48:34 -0000 > Message-ID: <20160106054834.11993.74219@sonus> > --===============5406379004382951965== > MIME-Version: 1.0 > Content-Type: text/plain; charset="utf-8" > Content-Transfer-Encoding: 7bit > Hey there, thanks for creating your account. > Please use the link below to activate it. > http:// > 127.0.0.1:8000/accounts/verify/8/48b-f01cf45fb6e9e3ffb8c0/?next=/users/go-goa > > --===============5406379004382951965== > MIME-Version: 1.0 > Content-Type: text/html; charset="utf-8" > Content-Transfer-Encoding: 7bit > <p>Hey there, thanks for creating your account.</p> > <p>Please use the link below to activate it.</p> > <p><a href=" > http://127.0.0.1:8000/accounts/verify/8/48b-f01cf45fb6e9e3ffb8c0/?next=/users/go-goa > ">http:// > 127.0.0.1:8000/accounts/verify/8/48b-f01cf45fb6e9e3ffb8c0/?next=/users/go-goa > </a></p> > --===============5406379004382951965==-- > > > As we can see from above email currently all emails have same information in > two formats text as well as html. I want only html out of this. > > > On Wednesday, January 6, 2016 at 3:19:55 PM UTC+5:30, Stephen McDonald > wrote: >> >> No there isn't. >> >> If you did that, any person who would have received the text version >> would then receive a HTML version full of unrendered HTML code visible as >> pain text, which probably isn't what you want. >> >> On Wed, Jan 6, 2016 at 6:59 PM, sonu kumar <[email protected]> wrote: >> >>> I would like to send notification for account creation and verification >>> etc. But built in method sends email with text as well as html which uses >>> *send_mail_template* function to send email(s). Is there any simple >>> method to send only html email like by changing some setting or function >>> call. >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Mezzanine Users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> >> -- >> Stephen McDonald >> http://jupo.org >> > -- Stephen McDonald http://jupo.org -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
