Thursday, April 2, 2009

Sending Email from command line

there is free tool which can be downloaded from "http://www.caspian.dotconf.net/menu/Software/SendEmail"

extract the content and place it in the executable


simple syntax :

sendEmail -f fromemailaddress@domain.com -t toemailaddress@somedomain.com -m hello(messagebody) -u test(subject) -a hi.txt(attachment file) -xu usernameofsomedomain.com(username) -xp password -s smtp.somedomain.com:25


will followed by the ack whether the email have been successfully or not

No comments: