Skip to content

Email body as attachment #11

@aghaynes

Description

@aghaynes

Hi,

I've been using your package for a while to send emails with HTML body and PDF attachments for a while now. I updated R last week and found that the body is now sent as an attachment too...

I assume that somewhen recently the disposition argument to mime_part has stopped working correctly?

This is essentially the code i've been using...

sendmailR::sendmail(from = address,
                      to = recipient,
                      subject = subject,
                      msg = list(sendmailR::mime_part(emailbody,
                                                      type = "text/html",
                                                      disposition="inline"),
                                 sendmailR::mime_part(pdfoutfile,
                                                      name = pdf_name)),
                      control = smtp_settings)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions