![]() |
|
[Shell] How to sand an E-mail from CMD [ Ya, That's true! from CMD] O_O - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [Shell] How to sand an E-mail from CMD [ Ya, That's true! from CMD] O_O (/showthread.php?tid=2046279) |
How to sand an E-mail from CMD [ Ya, That's true! from CMD] O_O - TheNeutron - Dec 25, 2011 W all know batch can't send email, but in some ways YES it can! For that we need a little program called "SMTP Mailer". You download this from here. After downloading, unzip it and Copy the "SmtpMail.exe" to C:\ Now Open CMD. Type the following code in the following manner: Code C:\SmtpMail.exe server=smtp.gmail.com [email protected] [email protected] [email protected] password=PasswordHere ssl license=2012012527a4e3fdef4603a9d8af106c4f84c73c subject="THE SUBJECT" body="YOUR Message Here"Spoiler (Click to View) Now hit enter and you're done! It works! Here's a screenshot: [img]http://img811.imageshack.us/img811/5503/cmdo.png[/img]
Enjoy! ✌ * - Charon - Dec 25, 2011 Why don't you just make a batch file that writes a vbs file that can email? * - TheNeutron - Dec 25, 2011 (Dec 25, 2011 12:11 AM)Charon Wrote: Why don't you just make a batch file that writes a vbs file that can email? Because I Don't Know VBS and by this you can send mail directly from CMD. 🙂 * - 0xDEAD10CC - Dec 25, 2011 (Dec 25, 2011 12:13 AM)hackopz Wrote: Because I Don't Know VBS and by this you can send mail directly from CMD. 🙂 Assuming it's in an Environment location or System32 folder unless the full path is identified. But the executable needs to stay with the script no matter what. * - TheNeutron - Dec 25, 2011 (Dec 25, 2011 12:24 AM)AceInfinity Wrote: Assuming it's in an Environment location or System32 folder unless the full path is identified. But the executable needs to stay with the script no matter what. Yup that's right. Executable must stay in the script or it won't work.... 😉 * - SIM-1073426 - Dec 26, 2011 Thanks, been looking for this. To short to post * - TheNeutron - Dec 26, 2011 (Dec 26, 2011 05:51 PM)theblackduck421 Wrote: Thanks, been looking for this. Welcome. :) Glad it was helpful... 🤝 * - iGnite - Dec 27, 2011 (Dec 25, 2011 12:24 AM)AceInfinity Wrote: Assuming it's in an Environment location or System32 folder unless the full path is identified. But the executable needs to stay with the script no matter what. You could always download the executable via VBScript, or encode it and rebuild the binary in VBScript. * - White Light - Dec 28, 2011 (Dec 27, 2011 04:35 AM)iGnite Wrote: You could always download the executable via VBScript, or encode it and rebuild the binary in VBScript. Or just forget the EXE altogether and do the whole thing in VBScript. * - iGnite - Dec 28, 2011 (Dec 28, 2011 10:23 AM)Ice Cream Wrote: Or just forget the EXE altogether and do the whole thing in VBScript. I agree; Since the executable appears to use SMTP anyway, and that's already usable in VBScript. :) i <3 VBScript |