Is it possible to send a completely simplified email with web2py gluon.tools.Mail class?
I'm using my own SMTP and the procedure itself works fine, I can send emails to myself, etc. but the email content produced is giving me problems. No matter how plainly are my messages constructed, Mail class produces mails with attachments. Testing with only message='plaintext' results in a mail with: Content-Type: multipart/mixed and Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 cGxhaW50ZXh0 which is fine for my mail reader, but not for the parser I need to send these mails to. I'm trying to send some strictly plain text commands trough email, so basically I would like just plain Content-Type: text/plain and straight non-encoded text in message body. Is this possible with web2py? Should I use smtplib directly instead?