Postmark InvalidMessageError

If you get this ERROR her in a Ruby on Rails app:

Postmark::InvalidMessageError: Provide either email TextBody or HtmlBody or both

That usually means just that you have a misspelling somewhere in your code. Rails is working with a lot of conventions. In my case a directory was miss spelled. After I fixed the spelling it worked fine for me.

3 thoughts on “Postmark InvalidMessageError

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s