Showing 2 results for the tag: SMTP.

Using PHP mail function with locked-down SMTP server

I host my own Exchange server and had accepted the restriction that I couldn’t use the PHP mail() function thinking it was an incompatibility with IIS.  It turns out, however, that my Exchange server (like most Exchange servers) requires a username and password to work.
I found a user on a forum that solved this problem [...]

Read more »

Testing an SMTP Server

Microsoft has a good article on testing an SMTP server using Telnet.  I’ve summarized the steps here using the following information:

SMTP server name
mail.contoso.com

Source domain name
test.com

From email address
Admin@test.com

Recipient email address
User@domain.com

Here is the summary of commands and responses.  Remember to press <ENTER> after each command.

Command
Response

telnet mail.contoso.com 25
220 site.contoso.com Microsoft Exchange Internet Mail Connector <version number of the [...]

Read more »