Command Line Email FAQ—simple answers to complex questions.
- Q: When I try to send an email the following error message is displayed: "Couldn't connect to server, Error: No connection could be made because the target machine actively refused it". What is the problem and how can I fix it?
- A: The common reasons of this error message and solutions are:
Outgoing mail server?
To send email, it is necessary to specify outgoing mail server address (SMTP). If you do not know the address of your SMTP server, either try to look in settings of another mail application, contact your network administrator or Internet Service Provider. SMTP server can be specified by using -SMTP parameter.
febootimail -SMTP smtp.server.com
SMTP server port?
If your SMTP server port is other than the default 587, use -PORT command to specify a port number used by your outgoing mail server.
febootimail -SMTP smtp.server.com -PORT 25
Username and password?
If your SMTP mail server requires authentication, a username and a password should be specified to send emails.
febootimail -AUTH AUTO -USERNAME David28@provider -PASSWORD ********** -SMTP smtp.example.com
This article may be referenced as (KB ID: 513).
Still have a question?
If you have any questions, please do not hesitate to contact our support team.