sendEmail: send email by email and smtplib

View source: R/sendEmail.R

sendEmailR Documentation

send email by email and smtplib

Description

Please fill the configuration information first by the EmailConfig_qq(). Config once, and user configuration will be stored.

Usage

sendEmail(receiver = "kongdd@mail2.sysu.edu.cn", content = "", title = "curlR")

Arguments

receiver

the email address of the receiver

title, content

the mail title and content

Note

currently only QQ email supported. But it is easy to extend more.

Examples

## Not run: 
EmailConfig_qq("991810576@qq.com", "XXXXXXXX")

receiver <- c("kongdd@mail2.sysu.edu.cn", "kongdd.sysu@gmail.com")
file.create("~/.R/curlR.yaml")
sendEmail(receiver, content = "hello python email")

## End(Not run)

rpkgs/curlR documentation built on Jan. 30, 2023, 7:26 p.m.