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...
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.
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.
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.
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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.