File: mime_part.character.Rd

package info (click to toggle)
r-cran-sendmailr 1.4-0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 212 kB
  • sloc: makefile: 2
file content (29 lines) | stat: -rw-r--r-- 793 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mime_part.R
\name{mime_part.character}
\alias{mime_part.character}
\title{Create an inline character MIME Part}
\usage{
\method{mime_part}{character}(x, name, type = "text/plain", flowed = FALSE, ...)
}
\arguments{
\item{x}{Character string, possibly a filename.}

\item{name}{Name of attachment.}

\item{type}{Content type of inline text. Defaults to "text/plain".}

\item{flowed}{Should "format=flowed" be added to the content header.}

\item{...}{Ignored.}
}
\value{
An S3 \code{mime_part} object.
}
\description{
Create a MIME part from a character string. If the string matches
a filename, a MIME part containing that file is returned instead.
}
\seealso{
\code{\link{mime_part_html}} for adding inline HTML
}