fix in user addition email sending..

This commit is contained in:
Anand Doshi 2012-02-16 12:47:11 +05:30
parent ec1af179cb
commit 761a044cd7

View File

@ -102,7 +102,7 @@ def send_welcome_mail(email, args):
'account_url': webnotes.conn.get_default('account_url')
})
if not args.get('last_name'): args['last_name'] = ''
sendmail_md(pr.email, subject="Welcome to ERPNext", msg=welcome_txt % args)
sendmail_md(pr.email, subject="Welcome to ERPNext", msg=welcome_txt % args, from_defs=1)
#
# post comment