search
Login

Categories


C Books Guide and List
C++ Books Guide and List
Best Java Books

3.8k questions

4k answers

117 comments

10.7k users

0 votes
18 views
asked Guru 24.6k points 29 51 76

1 Answer

0 votes
To send email using PHP, you use the mail() function.This mail() function accepts 5 parameters as

follows (the last 2 are optional). You need webserver, you can't send email from localhost. eg : mail

($to,$subject,$message,$headers);
answered Guru 39.1k points 10 21 32

Related questions

1 vote
0 answers 32 views
32 views
asked anonymous
0 votes
1 answer 45 views
45 views
Is it possible to send an email from my Java application using a Gmail account? I have configured my company mail server with Java app to send email, but that's not going to cut it when I distribute the application. Answers with any of using Hotmail, Yahoo or Gmail are acceptable..
asked john Guru 27.1k points 31 47 93
0 votes
1 answer 67 views
67 views
Is it possible to validate an email in PHP?
asked denis Sr Member 2.7k points 14 29 59
0 votes
1 answer 15 views
15 views
asked john Guru 27.1k points 31 47 93
0 votes
1 answer 43 views
43 views
I have two dates of the form: Start Date: 2010-03-18 End Date: 2011-06-24 Now I need to find the difference between these two in the below form: 1 years, 3 months and 6 days How can I do this in PHP?
asked anonymous
...