The Script Library
Menu
The Script Library
Browse
Search
Submit
Reference
About
Contact
Link to Us
Index

Display

Home > Batch > Messaging and Communication > SMTP Mail





Send email from command line



 

Description
These commands sends an email when telnetting to a mail server on port 25. Relaying must be allowed in the configuration of the mail server.

 

Author/Submitter
Marty Lindsay

 

Batch Code

HELO
MAIL FROM: firstname.lastname@domainname.com
RCPT TO: recipient.name@domain2.com
DATA
Hello, this is a test

.

QUIT
	






Search The Library


Search String

Script Language