Send Email From Command Line 20.07.25
ith 'Send Email From Command Line' you can send Email directly from windows command line (DOS prompt). You can attach files to email, use CC (Carbon Copy) and / or BCC (Blind Carbon Copy). Call 'Send Email From Command Line' from Scheduled Tasks, CGI scripts, VBA, virtually from any software. 'Send Email From Command Line' can Read list of CC(BCC) recipients from text file, Read the body of the message from text file, Read arguments from text file.
Send Email From Command Line example, Use textBody, port 465:
SendEmail --server smtp.mydomain.com --port 465 --from david@mydomain.com --to terry@yahoo.com --username david --password mypass --subject "Good News" --textBody "Hello, rnI'm terry..."
Send Email From Command Line example, Read CC, BCC address from file(one line one email address):
SendEmail --cc "D:customer.txt" --bcc "https://software-download.name/ customer.txt" --server smtp.mydomain.com --from david@mydomain.com --to terry@yahoo.com --username david --password mypass --subject "Good News" --textBody "hello, rn I'm David..."
Send Email From Command Line example, Read the body of the message from local file:
SendEmail --textBody "D:my letter.txt" --server smtp.mydomain.com --from david@mydomain.com --to terry@yahoo.com --username david --password mypass --subject "Good News"
Send Email From Command Line example. Read the body of the message from remote server:
SendEmail --textBody "https://software-download.name/ letter.txt" --server smtp.mydomain.com --from david@mydomain.com --to terry@yahoo.com --username david --password mypass --subject "Good News"
Send Email From Command Line example, CC and BCC:
SendEmail --cc "john@blog.com,lucy@good.com" --bcc "ailsa@news.com,donna@earth.net" --server smtp.mydomain.com --from david@mydomain.com --to terry@yahoo.com --username david --password mypass --subject "Good News&qu