Send Email via Intranet and Internet.

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
choppchop
Forum Newbie
Posts: 1
Joined: Thu Nov 11, 2010 9:19 pm

Send Email via Intranet and Internet.

Post by choppchop »

Is there any solution that i could send email via intranet and internet?
Another question, is that any way to check whether the SMTP is usable? (e.g. smtp@yourdomain.org)
User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Re: Send Email via Intranet and Internet.

Post by califdon »

choppchop wrote:Is there any solution that i could send email via intranet and internet?
Another question, is that any way to check whether the SMTP is usable? (e.g. smtp@yourdomain.org)
No and No.

First of all, this question doesn't belong in the Installation and Configuration forum, so I will move it to PHP Code.

Assuming that you are asking whether PHP can send email via the Internet, and assuming that the web host you are using has an SMTP server, the answer is Yes. As far as intranet, the answer is No, because the web host has no way to reach your intranet. It could be on the other side of the earth. The SMTP server is not an email address, it is server software on a host computer. If you have sysadmin privileges on the server, you could test to see if it is running. You could also write a 3 or 4 line PHP script to send a test message to yourself.
Post Reply