Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7972337
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T07:50:15+00:00 2026-06-04T07:50:15+00:00

I was using only html emails which worked from my Rails 3.1.4 app, but

  • 0

I was using only html emails which worked from my Rails 3.1.4 app, but I decided to add text only emails to make them multipart and now the email arrives blank. I also started using Sendgrid’s Heroku addon – not sure if that is part of it.

When I look in my heroku logs, I can see that both views, the .erb and .html.erb rendered successfully and I don’t see any errors. The email arrives, but the body is blank in Yahoo! and in Hotmail it only says (didn’t do any more testing):

This is a multi-part message in MIME format...

----

here’s my mailer:

class Notifier < ActionMailer::Base

  helper :application
  default_url_options[:host] = "foo.com"

  # email on new user registration to verify user
  def verification_instructions(user)
     subject       "Email Verification"
     from          'Bar <info@bar.com>'

     @user = user
     recipients    "#{user.first_name} <#{user.email}>"
     sent_on       Time.now
 @url  = "http://bar.com/user_verifications_controller/show/#{user.perishable_token}"
  end

The text version (.erb)

Hi <%= @user.username %>, thanks for signing up

Please click the following link to verify your email address:                                           
<%= @url %>

If the above URL does not work, try copying and pasting it into your browser. If you continue to have problems, please feel free to contact us.

I posted the html here.

Also, when I send the email from the console in development, I can look in the logs and see that renders the email. I put the output here. Tried a different email to make sure that it wasn’t an issue specific to one email2

Thanks in advance, for any help you can provide.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T07:50:16+00:00Added an answer on June 4, 2026 at 7:50 am

    I just started using Sendgrid too….

    I’m using the sendgrid gem

    My Mailers have

    “include SendGrid” at the top

    and an exclpicit call to mail(subject: “Yadda”, to: “recipient@mail.com”) at the end of the method.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How to strip off HTML tags from a string using plain JavaScript only, not
I am using the HTML button tag but the style mentioned below should only
I'm sending an HTML email which is only going to be opened using Microsoft
A friend of mine has to send a normal email using ONLY HTML/HTML5 (or
I have a webapplication using only HTML and Javascript (no server interaction). At this
I have one page website only using HTML, CSS and JavaScript. I want to
How to create table layout in HTML only by using by passing both width
Is there any way to completely process a form using only javascript & html
Here is the link for the site: http://amfotography.com/newsite/clients.html I am only using this folder
I'm using the wonderful reveal.js library to create a HTML slideshow. My only problem

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.