콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
4 답글
9798 화면

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?

아바타
취소
관련 게시물 답글 화면 활동
0
3월 15
4548
1
3월 15
5216
1
7월 25
1306
5
5월 25
18824
0
4월 25
1394