Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
4 ตอบกลับ
9465 มุมมอง

Hi

If I create a new user, I get this error message.

ssert values.get('email_from'), 'email_from is missing or empty after template rendering, send_mail() cannot proceed' AssertionError: email_from is missing or empty after template rendering, send_mail() cannot proceed

NB: I configure the SMTP server.

Plz What is the probleme ?

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

I solved this problem by install the jinja2 package

sudo apt-get install python-jinja2

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hello Khallidos,

You didn't specify the email either for the new user or the logged in user. Check if both users has the email specified.

The email_from on the template is not defined. Check here:

email_from

enter a value like:${object.company_id.name} <${object.company_id.email}> and it should work.

Thanks,

อวตาร
ละทิ้ง
ผู้เขียน

Thanks. I did the same; But I get the same error !!!

But did you check that your new user's company has email id becuase this formula will take the email id from there.

ผู้เขียน

Yeeah.I put an email for the new user's company. but the same error !!

I have this same problem. Admin, Company and the Partner related to the company all have an email address - and the templates already have the code to retrieve the company email address.

I have this same problem.

ผู้เขียน คำตอบที่ดีที่สุด

Hi Naresh

Thanks for replay. I specify the email for both, but I get the same email !!!

อวตาร
ละทิ้ง

Hi Khalidoss, what do you mean by " but I get the same email" your question says you have an error " 'email_from is missing or empty " ?

ผู้เขียน

Yes, sorry , I get the same error not email !!!

Hi Khalidoss, I have updated my answer !

คำตอบที่ดีที่สุด

Ok but where can I find the same configuration in the V7?

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
มี.ค. 15
4314
1
มี.ค. 15
4988
1
ก.ค. 25
673
5
พ.ค. 25
18121
0
เม.ย. 25
1044