Skip to content

Java program to send automated email with or without attachments, with Body as text or HTML

Notifications You must be signed in to change notification settings

mihaque313/java_email_sender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This program can be used to send automated email with or without attachments, with Body as text or HTML

Pass arguments to program as follows:

CASE 1: HTML body with attachment

-html <path/to/file/to/be/put/as/body.html> <comma_seperated_reciepents_email_addresses> <mail_subject> </path/to/file(s)/for/attachment1,/path/to/file(s)/for/attachment2,/path/to/file(s)/for/attachmentN>

CASE 2: HTML body without attachment

-html <path/to/file/to/be/put/as/body.html> <comma_seperated_reciepents_email_addresses> <mail_subject>

CASE 3: TEXT body with attachment

<path/to/file/to/be/put/as/body.html> <comma_seperated_reciepents_email_addresses> <mail_subject> </path/to/file(s)/for/attachment1,/path/to/file(s)/for/attachment2,/path/to/file(s)/for/attachmentN>

or

-text <path/to/file/to/be/put/as/body.html> <comma_seperated_reciepents_email_addresses> <mail_subject> </path/to/file(s)/for/attachment1,/path/to/file(s)/for/attachment2,/path/to/file(s)/for/attachmentN>

CASE 1: TEXT body without attachment

<path/to/file/to/be/put/as/body.html> <comma_seperated_reciepents_email_addresses> <mail_subject>

or

-text <path/to/file/to/be/put/as/body.html> <comma_seperated_reciepents_email_addresses> <mail_subject>

About

Java program to send automated email with or without attachments, with Body as text or HTML

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages