SMTP Mail Sender – FAQ

Here is some information to get you started with SMTP Mail Sender. It has both questions that are frequently asked, and also some basic how-to guides to get SMTP Mail Sender working with a few of the more popular public email services on the web.

Q: How do I get it working with x?
A:

Where x = Gmail, you need to configure the settings dialog as follows:
Server: smtp.gmail.com
Port: 587
Secure Connection (SSL): Checked
Server Requires Authentication: Checked
Username: youraccount@gmail.com
Password: yourgmailpassword

Additionally, you will need to configure your Google account to allow access from “less secure” applications.

Where x = Yahoo, you need to configure the settings dialog as follows:
Server: smtp.mail.yahoo.com
Port: 587
Secure Connection (SSL): Checked
Server Requires Authentication: Checked
Username: youraccount@yahoo.com
Password: youryahoopassword

Additionally, you will need to configure your Yahoo account to allow access from “less secure” applications.

Q: Can I automate sending messages using a script of some sort?
A: Yes! SMTP Mail Sender supports basic commands for scripting. You can call the application from a batch script or any other scripting language available in Windows. From the Command Line Arguments section of the readme file:

Command Line Arguments
------------------

SMTP Mail Sender accepts command line arguments. To send command arguments with
spaces, you need to enclose the argument in a space, i.e.

-subject "This is my cool subject" -from user@example.org

The following arguments are currently supported:

-a, -attachment               - This attaches the specified file to the message.
You can use multiple -a arguments to add more
than one attachment on a single message.
-b, -body, -message, -msg  - This puts whatever you supply at the command line
into the message body. You can also supply a file
name and if the file exists, will load that into
the body of the message.
-c, -config                - This loads the configuration file specified, not
the config.conf file in the application directory.
-f, -from                  - Sets the from field
-g, -log                   - Log to smtpsend.log in "start in" directory
-logfile                   - Override the log file path & name, example:
-logfile C:\Windows\Logs\smtpsend.log
-l, -language              - Loads the language file that is passed in. The
language files can be found in the .\lang folder.
example: -l lang\lang.es.txt will load Spanish
-s, -subject               - Sets the subject field
-send                      - Automatically send the message after filling in
all the fields specified with other arguments.
(Note: the application must be configured before
this will work properly.)
-t, -to                    - Sets the to field. Separate addresses with a comma
-cc                        - Sets the CC field.
-bcc                       - Sets the BCC field.
-username                  - Pass in a plain text username to authenticate with
-password                  - Pass in a plain text password to authenticate with
-timeout                   - Sets the SMTP timeout in seconds. Default is 100.

Q: Does it support encryption?
A: SMTP Mail Sender supports Transport Layer Security, in the form of STARTTLS. This encrypts the data as it traverses between your client and the mail server. It does not, however, encrypt the contents of the message. Anyone who has access to the server(s) in which the email passes through could potentially view the contents.

Q: Why are my messages not being sent/delivered?
A: Make sure you have your mail settings configured properly (see above). Also, make sure the receiving end is not sending your messages to the spam/junk email folder. If you are still having issues, check the configuration option to enable logging to a file, if it’s not already, and then look through the log to see if any more information can lead you towards a resolution. You may also want to investigate whether your ISP blocks traffic on specific ports. Port 25 is a common port to be blocked, due to spam relaying issues.

Q: Does it support HTML messages?
A: No. It is not designed to be a complete email replacement.

Q: Will it ever support HTML messages?
A: No. It is not designed to be a complete email replacement.

Q: None of these responses resolved my issue, can I contact you?
A: Definitely! If you are still having issues getting your client configured and you would like help, get in contact with me and I’ll do my best to help you out.