blat: Send Emails Using 'Blat' for Windows

Description Usage Arguments Details Examples

Description

This is a wrapper which calls 'Blat' to send emails. For documentation on the options, see http://www.blat.net/syntax/syntax.html. You should not use dashes as part of the argument names (as with 'Blat'), this is done for you: simply use name = value pairs as arguments. For some basic examples of the most commonly used arguments, see below.

Usage

1

Arguments

...

arguments to blat

Details

'Blat' can use a file as body of the email, in which case this is ordinarily the first argument in the 'Blat' command. However, blatr uses the named argument filename to specify this. Unnamed arguments do not work with blatr.

Examples

 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
## Not run: 
   # With attachment
   blat(f      = "Your Name <your@email.com>",
        to     = "your-recipients@email.com",
        s      = "The subject",
        server = "server.address",
        attach = "C:/path/to/attachment.txt",
        body   = "The text you wish to send.")

   # With file as body
   blat(f        = "Your Name <your@email.com>",
        to       = "your-recipients@email.com",
        s        = "The subject",
        server   = "server.address",
        attach   = "C:/path/to/attachment.txt",
        filename = "C:/path/to/file/with/body.txt")

   # With username and password required.
   blat(f        = "Your Name <your@email.com>",
        to       = "your-recipients@email.com",
        s        = "The subject",
        server   = "server.address",
        attach   = "C:/path/to/attachment.txt",
        filename = "C:/path/to/file/with/body.txt",
        u        = "username",
        pw       = "password")

## End(Not run)


Search within the blatr package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.