eZdia Forum Forum Index
eZdia Forum
A forum for eZdia lovers
www.eZdia.com

 FAQFAQ    RegisterRegister   Log inLog in 
The time now is Wed Feb 08, 2012 12:19 pm
eZdia Forum Forum Index
 ProfileProfile  UsergroupsUsergroups   Log in to check your private messagesLog in to check your private messages 
Using E-Mail section in PHP

 
Post new topic   Reply to topic    eZdia Forum Forum Index -> Web Development
View previous topic :: View next topic  
Author Message
Anubhav



Joined: 28 Apr 2009
Posts: 2

PostPosted: Tue Apr 28, 2009 11:40 am    Post subject: Using E-Mail section in PHP Reply with quote

I would like to know what are the steps to use E-mail section in PHP ?
Back to top
View user's profile Send private message
vikas72



Joined: 21 Dec 2007
Posts: 199

PostPosted: Tue Apr 28, 2009 11:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
madhu2300



Joined: 30 May 2009
Posts: 25

PostPosted: Sun May 31, 2009 5:22 pm    Post subject: PHP Email Setup Reply with quote

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
View user's profile Send private message
Faolan



Joined: 01 Jun 2009
Posts: 7

PostPosted: Tue Jun 02, 2009 8:22 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Fnand



Joined: 28 Jun 2009
Posts: 36

PostPosted: Fri Jul 03, 2009 12:12 pm    Post subject: email Reply with quote

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
View user's profile Send private message
jitendra45



Joined: 04 Jul 2009
Posts: 26

PostPosted: Sat Jul 04, 2009 10:14 am    Post subject: using email in php Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    eZdia Forum Forum Index -> Web Development All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Po wer xed by php B B © 2001, 2005 php BB Group | A Forum Home |