On Fri, 11 Feb 2005, sujith wrote:
I am trying to connect to an smtp server running on port 587. On the said server, SMTP auth is required. But when I call smtp_open_full() with 587 as port, it defaults to port 25 when

To set the port number, use ":587" after the host name in the list.

The port number argument only sets the default if "smtp" is not defined as a service.

-- Mark --

http://staff.washington.edu/mrc
Science does not emerge from voting, party politics, or public debate.
Si vis pacem, para bellum.

Reply via email to