0

helloo

i have to communicate between two users and i want to do it through e mails. how can we send messages on email address in php??? do we have to use any e mail server??

plz help !!

Regards!

4
Contributors
8
Replies
9
Views
7 Years
Discussion Span
Last Post by iqra123
0

http://php.net/manual/en/function.mail.php

This function uses the server's smtp as defined in the php.ini

thanx :-)

i saw this function at www.w3schools.com also but didnt used it properly.. then somebody told me that for this u have to install email server also... so i got confused about that....
i hope for this mail(....) function i dont have to use any server type thing.... just by using this my message will be sent to the particular email address?

0

If you are using a web hosting service(a virtual server) then everything should be set up and it will work if you code it correctly. If you are running on your own local server using WAMP or EASYPhp or another similar test environment, then you won't have a mail server and isn't simple to get that working.

0

okey!! i am using WAMP server so i need to have any mail server can u suggest any good and easy to use mail server compatible with window 7 ?

Regards!

0

Setting up a secure email server to send and receive isn't something for an amateur. A quote:
"If you know absolutely nothing of internet protocols like pop, smtp, imap, etc. do not host your own mail server. A newbie server, if you can get it up and running will be completely insecure. their are millions of spam bots out there troll the internet looking for insecure smtp servers they can use to send their spam from. you could get into some big problems if your isp finds that you are sending spam from your computer. so, unless you know how to secure your mail server dont even think of installing one. and dont think if you read "email servers for dummies' you will know anything about email server security. that is up to experienced system admins."

If you just want to send mail or test the output from a send, then there are a number of ways to do that. It is a more complicated task to install a mail server for two way traffic (and make it secure).

0

ok thanx for your kind suggestions. so if u r saying to avoid using these mail servers than plz tell me the other way??? i really have to do this task....

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.