How to send email from local server and remote server.

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
ssuresh07
Forum Newbie
Posts: 2
Joined: Tue Nov 11, 2008 12:16 am

How to send email from local server and remote server.

Post by ssuresh07 »

im creating a feedback form. which sends mail to both admin and user. how to send that. im new to php & web app creation.
nbabenko
Forum Newbie
Posts: 2
Joined: Thu Nov 13, 2008 5:46 am

Re: How to send email from local server and remote server.

Post by nbabenko »

Have a look at PHP's mail function. It's extremely simple and in you case you would have to call it twice, one for yourself and one for the user processing the forms.
User avatar
Weasel5-12
Forum Commoner
Posts: 37
Joined: Tue Sep 16, 2008 6:58 am

Re: How to send email from local server and remote server.

Post by Weasel5-12 »

I've got a similar issue, though not new to PHP or web apps.

I am new to the mail(); function..
and i was wondering if you could instruct me on editing my php.ini file to allow for mail to be send from my local server?


Any help would be much appreciated.
Post Reply