Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

WIll PHP mail fucntion works in the Intranet environment

Status
Not open for further replies.

kishorkar

Programmer
Aug 12, 2003
26
IN
Will the PHP mail function will work in the Intranet environment.Will the mail be sent to the particular recipient email id. ?
Pls give the steps to be followed if we use mail function in the intranet setup...

Thanks
 
I'm not sure what you mean by "intranet environment" as it applies to PHP's mail() function. That function, because it uses SMTP, will operate the same way regardless of the site.



Want the best answers? Ask the best questions!

TANSTAAFL!!
 
Hi all,

Could anyone provide me the code(Complete Code) for sending a simple mail to a recipient in intranet environment. Is there any restriction in an intranet environment for sending mails? Please reply.

Thanks and Regards,
Kishore
 
I found a whole lot of sample code and tutorials when I visited Google ( I used the following search term:

example code to send email using php

And the very top link points to an example that sounds just like what you want. There is no difference between intranet and internet implementation... they are the same. The same example shows how to read emails as well.

Jeff
 
As somebody who's mailing scripts were fairly simple and who insisted on writing them all from scratch for a year... let me suggest not worrying about the details and just using phpMailer it's a really nice program... as your needs grow with mailing in PHP you'll be amazed at how many things you need to start worrying about which this little dandy lets you completely forget about.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top