| View previous topic :: View next topic |
| Author |
Message |
Anubhav
Joined: 28 Apr 2009 Posts: 2
|
Posted: Tue Apr 28, 2009 11:40 am Post subject: Using E-Mail section in PHP |
|
|
| I would like to know what are the steps to use E-mail section in PHP ? |
|
| Back to top |
|
 |
|
|
 |
vikas72
Joined: 21 Dec 2007 Posts: 199
|
Posted: Tue Apr 28, 2009 11:58 pm Post subject: |
|
|
If you have control on your own server, you can install squirrelmail on servers. If you want to send an email from a form you can use phpmail() function. Check
http://us.php.net/manual/en/function.mail.php |
|
| Back to top |
|
 |
madhu2300
Joined: 30 May 2009 Posts: 25
|
Posted: Sun May 31, 2009 5:22 pm Post subject: PHP Email Setup |
|
|
| Before we can send email with PHP, we need to set it up to do so, just as you need to set up your email program before it can send messages. Configuration for sending email in PHP is done with the php.ini file, so open up your Web server's php.ini in whichever editor you normally use. |
|
| Back to top |
|
 |
Faolan
Joined: 01 Jun 2009 Posts: 7
|
Posted: Tue Jun 02, 2009 8:22 pm Post subject: |
|
|
Log in to WordPress with the administration login you use to administer your WordPress blog.
Go to Options > Writing.
Read the instructions under Post via e-mail at the bottom of the page. At the end of these instructions, WordPress will suggest three random strings of numbers you may want to use for the login name of the new e-mail account you'll create.
Create a new e-mail account on your web host's mail server or a separate e-mail server, using one of the suggested numeric strings (or your own secret word) for the username (also called a "login name"). A mail server receives e-mails on your behalf and stores them for retrieval. Do not use public, free e-mail servers like Yahoo, Hotmail, etc., for this account. _________________ http://ezdia.org |
|
| Back to top |
|
 |
Fnand
Joined: 28 Jun 2009 Posts: 36
|
Posted: Fri Jul 03, 2009 12:12 pm Post subject: email |
|
|
follow the steps and you will be able to use email in php. and dont forget to tell me if it helps you. here is what to do-what you have to do is just add the below code in the php
mail($to, $subject, $body)) to send mail..
i think this should do it. |
|
| Back to top |
|
 |
jitendra45
Joined: 04 Jul 2009 Posts: 26
|
Posted: Sat Jul 04, 2009 10:14 am Post subject: using email in php |
|
|
To send mail using an external program such as sendmail or qmail, pass sendmail.
To use an SMTP server, pass smtp.
To use the built-in mail( ) function, pass mail. This tells Mail to apply the settings from your php.ini. |
|
| Back to top |
|
 |
|