Skip to content

kelvinlongchun/ibm-notes-email-sender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Overview

Email sender python script for IBM Notes 📧

Get Started

Import Model

from models.NotesMail import NotesMail

Create NotesMail Object

Create NotesMail object. You need your server name and IBM Notes nsf file path.

MAIL_SERVER_NAME = "DOMINOMSGN1/ABC_COMPANY"
MAIL_DB_NAME = "mail\your_username.nsf"
mail = NotesMail(MAIL_SERVER_NAME, MAIL_DB_NAME)

Send The Email

Use function .send_email to send the email via IBM Notes.

pyrecivers = ["amy.cheng@xyz.com"]
subject = "Hello!"
body = "This is a test mail."
attachments = ["./test.xlsx"]

mail.send_mail(recivers=recivers, subject=subject,
body=body, attachments=attachments)

About

Email sender python script for IBM Notes 📧

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages