sendUpdate: Email Auto Update

Description Usage Arguments Examples

View source: R/sendUpdate.R

Description

After the parturition update has been created, this function automatically sends the update

Usage

1
2
3
4
sendUpdate(from, to, subject = "Test Email from R",
  SP = "smtp.office365.com:587", attachpath,
  progpath = "C:/Users/mhayes1/sendEmail/sendEmail.exe", username,
  password, systype = "Win")

Arguments

from

email address sending from

to

email address sending to

subject

email subject

SP

server and port of outgoing email address

attachpath

full path to attachment for email

progpath

path to sendEmail program

username

username for your email login

password

password for your email login

Examples

1
2
3
4
5
sendUpdate(from="mhayes1@uwyo.edu",to='mhayes1@uwyo.edu',
                     subject='Test email',SP="smtp.office365.com:587",
                     attachpath='C:/Users/mhayes1/Desktop/attach.xls',
                     progpath='C:/Users/mhayes1/sendEmail/sendEmail.exe',
                     username='mhayes1@uwyo.edu',password='password')

MovingUngulate/Part documentation built on May 30, 2019, 6:12 a.m.