Skip to content

klcwong/ibm-notes-email-sender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

IBM Notes Email Sender

A Python module of email sender 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.

recivers = ["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

A Python module of email sender for IBM Notes 📧

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages