Lantica Software Support Center
Lantica Software Home Page
Order Sesame Getting Started Support Center Contact Us Company Downloads Q&A ™  
Search

Knowledgebase Home

How do I change the port number for @SendMail()?

By default most SMTP servers accept connections on port 25 for sending email. Lately however many companies have been switching to a different port to try and combat spam email. If your SMTP server uses a port other than 25 you will need to change a file on your computer so the SBasic command @SendMail() will work.

The file you will need to edit is the services file which can be found in the C:\WINDOWS\system32\drivers\etc. Open this file with Notepad. You will see a line that says

smtp 25/tcp mail #Simple Mail Transfer Protocol

Change the 25 to the port number that your SMTP server uses and then click File->Save. The computer may need to be restarted in order for this change to take effect.


Properties ID: 000134   Views: 7119   Updated: 15 years ago
Filed under:
Internet

Copyright Lantica Software, 2003-2025 All rights reserved