ERPNext Conference 2019* ERPNext.com Blog

Email sent from ERPNext arrive with no message body


#21

it appears sendmail from command line was sending through some Linode smtp yet they said their ubuntu image does not include a sendmail configuration. this was just a fresh Linode install and then I downloaded the easy install script and let it run (after getting the python packages installed it asks for on the easy install page)


#22

So then you are saying sendmail is or isn’t possibly the source of your ‘missing email body’ problem?


#23

someone needs to chime in that knows how ERPNext/frappe is setup to work

I have no idea if it uses sendmail or postfix or what. I have not been able to figure it out going through the code yet.


#24

The code uses sendmail, to check for that:

frappe@ubuntu:~/frappe-bench$ find . -name '*.py' | xargs grep sendmail

Hence my questions if you would respond…


#25

I’ve got it fixed now. I’ll be working on an article to publish a guide on how to make ERPNEXT and Office 365 integrate and work flawlessly. and I’ll post a link here


#26

Hi nostahl, can you give me a hint what the issue was? We experience the same issue, but with our Exchange Server (not O365).

  • email goes out
  • subject is ok
  • body is empty
  • log says (header exceeds max. size) -> max header site is set to 256

Thanks in advance,
Johannes


#27

on the exchange side, had to setup shared email box accounts and use those with erpnext if I remember right. like sales@yourdomain.com