simplistic by design
simplistic by design
--Send SSL SMTP email silently from command line (CLI), or a batch file using Exchange, Gmail, Hotmail, or Yahoo! Plus - for FREE!
Current Version: 2.0.1.0
What's New?
Known issues
find a bug? report a bug!(get version 1.5.4.1 here)
Now with xml support
and CLI argument generation!
Take the guess work out of your commands!
SwithMail is free for Commercial and Non-Commercial Use.
That said, if you find it useful, please consider a small donation to keep the software free & updated.
Swith??
swith
–adverb
1. immediately; quickly.SwithMail is a windows application that is extremely easy to use. You run the program, set up basic settings (from address, to address, smtp server info, email subject and body), click save, and you're ready to go. Now you can send email using these settings silently from the command line, a batch file, or (the reason I wrote it), if a windows service quits.
Want to see some screen shots?
Download the How-To and Usage Guide - updated (2011-08-02 - v1.5.2.0)
- None - all known issues have been resolved with the latest release.
find a bug not in this list? Let me know!
Usage:
SwithMail.exe [/Silent] [/ToAddress ...] [/CC ...] [/BCC ...] [/FromAddress ...] [/FromName "..."]
[/Subject "..."] [/Body "..."] [/HTML true] [/Attachment "C:\Path\To\File.txt"] [/Param1 "Mr. Smith"]
Options:
/Silent -- [also '/s' and '/q'] send an email without any prompt.
/XML -- [also '/x'] "C:\Path\To\Settings.xml"
/FromAddress -- [also '/from'] email address
/FromName -- [also '/name'] name displayed
/Server -- server address - no port specified
/Port -- [also '/p'] server port - needed if /Server is used
/Password [also '/pass'] password - in plain text
/SSL -- [also '/TSL'] "true" or "false" depending on if SSL / TLS is enabled
/ToAddress -- [also '/to'] email address(es); multiple separated by ';' or ','
/CC -- email address(es); multiple separated by ';' or ','
/BCC -- email address(es); multiple separated by ';' or ','
/Subject -- [also '/sub'] subject "in quotes"
/Body -- [also '/b'] email body "in quotes" - html tags allowed when /HTML=true
/HTML -- "true" or "false" depending on if HTML tags are allowed in the body
/Attachment -- [also '/a'] "C:\Path\To\File.txt|C:\PathTo\2.txt" - separate with pipe (|) symbol
/Param{1-5} -- [also '/p{1-5}'] use %Param1% in subject or body, && replace it with this value
/Test -- use when testing from CLI. Message will appear with errors or success
Notes:
-arguments are NOT case sensitive
-arguments can be prefaced with '/', '-' or '--'
-arguments and values can be separated with a space, ':' or '='
-arguments not specified will use option saved in settings"
Example Usage:
swithmail.exe /silent /toaddress:"1@mail.com;2@mail.com" /cc cc@mail.com /subject:"here, %Param1%" /body:"line 1<br/>line 2" /html=true /param1="Mr. Smith"
Obviously, you wouldn't need to use %Param1% when you specify the subject and body from the CLI, but, again, if you need to send emails on a schedule to multiple different recipients, and you want to personalize them, open SwithMail without the /silent option, configure settings, and fill out the subject and body using %Param1% - %Param5%, then you can write a batch script, and specify the different "to" addresses, and the parameters, and have SwithMail do the rest!
Windows operating systems tested and working:
- Windows XP
- Windows 7 32 bit
- Windows 7 64 bit
- Windows Server 2003 32 bit
- Windows Server 2003 64 bit
- Windows Server 2008 64 bitOthers versions should work, but I have not tested them. If you try it, and it does work, let me know and I'll add it to the list. Thanks!
Revision: v2.0.1.0
========================
-Fixed error where CLI string would clear from clipboard when program closed
Revision: v2.0 (Changes from v1.5)
========================
- Removed settings from saving "in-app" - now all settings are saved to an XML file, and the XML file is called from the command line
- Added support for multiple file attachments - up to 4 in-app, unlimited** in XML file and in command line
- Added support for generating CLI string for you, taking the guess work out of your arguments
- Changed Usage screen to be slightly easier to read
- Changed Settings screen to be tab-based, allowing for smaller screen, and more settings
- Several other minor tweaks and enhancements
** "Unlimited" means that SwithMail will try to deliver all attachments - email providers may have limits not enforced by SwithMail - If that limit is exceeded, emails may fail to send.
Awards:
The following links may not be up to 100% date.
Use the link in the sidebar for most recent release!
Typical disclaimer applies:
This software is provided by the copyright holder and contributors "as is" and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the copyright owner or contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage.
Basically, I am not responsible for the way this application is used, nor can I ensure that no damage will be caused by using this program. Don't use it to send SPAM. Please... that's not why I wrote it, and nobody likes SPAM!