fix in user addition email sending..
This commit is contained in:
parent
ec1af179cb
commit
761a044cd7
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user