Problems with send_mail and the string formatting operator

2009-01-03 Thread OwenK
I have a simple function for sending activation emails to new users, but it always raises a ValueError of "unsupported format character '/' (0x2f) at index 51". You can see the function at http://dpaste.com/105078/ . the newuser argument is a user instance, and active_key is a string of length 25

Re: Problems with send_mail and the string formatting operator

2009-01-03 Thread Malcolm Tredinnick
On Sat, 2009-01-03 at 17:48 -0800, OwenK wrote: > I have a simple function for sending activation emails to new users, > but it always raises a ValueError of "unsupported format character > '/' (0x2f) at index 51". You can see the function at http://dpaste.com/105078/ > . the newuser argument is a

Re: Problems with send_mail and the string formatting operator

2009-01-03 Thread Karen Tracey
On Sat, Jan 3, 2009 at 8:48 PM, OwenK wrote: > > I have a simple function for sending activation emails to new users, > but it always raises a ValueError of "unsupported format character > '/' (0x2f) at index 51". You can see the function at > http://dpaste.com/105078/ > . the newuser argument is