You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If your mail has text and HTML parts, the Mail::Message created in send is multipart, so to_s is effectively a no-op. I'm not sure exactly what the best practice would be here, but sent_mail.parts.map(&:to_s).join works.
The text was updated successfully, but these errors were encountered:
If your mail has text and HTML parts, the
Mail::Message
created in send is multipart, soto_s
is effectively a no-op. I'm not sure exactly what the best practice would be here, butsent_mail.parts.map(&:to_s).join
works.The text was updated successfully, but these errors were encountered: