How to use SmtpMail on non-standard port?

Z

Zean Smith

I have a SMTP server running on port 9025, but seems like this doesn't
work.

SmtpMail.SmtpServer = "192.168.34.15:9025";

SmtpMail.Send( mail );


I couldn't find any properties on SmtpMail let me configure the port number,
any idea?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,045
Latest member
DRCM

Latest Threads

Top