Skip to content

rendered_contents is set to empty string with multipart email #7

Description

@tonydewan

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions