pauljohncleary / oatmail

A webmail app that sits on the tent protocol
https://oatmail.io
19 stars 2 forks source link

Email content is "undefined" #4

Open bnb opened 10 years ago

bnb commented 10 years ago

Title pretty much says it all. I got an email that I kind of need to see the contents of, but the contents are "undefined". Of course, this isn't what the sender wrote.

Edit: it appears that you can see the contents in the preview in the inbox, it's just not showing up on the display page.

pauljohncleary commented 10 years ago

Is this urgent? If so, the email may be viewable on cupcake's admin section. Search for the email type and you should get the post back.

There's definitely some bugs here but these need working on when we switch to a custom (and predictable) mail server. On 17 Jan 2014 17:21, "&! (bitandbang)" notifications@github.com wrote:

Title pretty much says it all. I got an email that I kind of need to see the contents of, but the contents are "undefined". Of course, this isn't what the sender wrote.

— Reply to this email directly or view it on GitHubhttps://github.com/pauljohncleary/oatmail/issues/4 .

bnb commented 10 years ago

Thanks for the Cupcake tip, it worked.

Could you explain what the mail server does here? Does Oatmail not pull emails from Tent?

pauljohncleary commented 10 years ago

At the moment oatmail uses mailgun to receive emails, which is less than ideal for a number of reasons (mainly I don't want to be dependent on a 3rd party when things scale, emails don't always come through in a consistent format, hence the "undefined" error etc).

oatmail-server will replace mailgun for receiving mails (I think we'll have to stick with mailgun for sending for the time being), more importantly it partially decouples the mail server from the application, which is good for scalability, upgrades, adding features etc. etc.

Just for clarity, you're right, oatmail does pull emails from tent, while the oatmail sever will be the gateway to send/receiving SMTP