On Aug 21, 2009, at 12:50 PM, Ray wrote:
> > Hi, > I'm trying to do this: > > send_mail(subject='hey, Ray', > message='Hey ray, this is an automated message, \n heres a > link: yahoo.com or <a href="yahoo.com">yahoo.com</a>', > from_email='bl...@gmail.co', > recipient_list=['blan...@gmail.com'], > fail_silently=False > ) > > I'm trying to add newline formatting to the text and perhaps a link. > Is that possible to do without having to send a html message? I tried > \n, that didn't work.... > > thanks, > Ray Try \r\n -- it's the newline standard used by mail servers, for some reason. Shawn --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---