Sendgrid email subject is missing

156 Views Asked by At

I'm working with Ruby on Rails and trying to send emails for my application via sendgrid. I'm using sendgrid-ruby version 6.6.2. Everthing working fine and all the personalizations are being added perfectly, so the email subject. But when email is received, subject is missing from the email. I tried using

personalization.subject = 'Hello from your manager' to add subject in personalization.

I also tried adding subject in mail object like

sendgrid_mail = SendGrid::Mail.new

sendgrid_mail.subject = 'Welcome from your manager

Subject is there with sendgrid-mail object before its triggered. But missing when i receive the email.

0

There are 0 best solutions below