Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is code for email sending through localhost pc..?

Answer Posted / adrevol

You can send mails using mail() function in php.

But you need to configure the SMTP in your php.ini file

by default, it will be set to localhost
change the entry of SMTP = localhost to
SMTP =mail.xxx.com

Is This Answer Correct ?    5 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the maximum size of a database in mysql?

999


What is the use of post in php?

981


How do you check is php not empty?

1004


Do you know what is use of count() function in php?

995


What are the string functions in php?

965


What is slim framework?

960


What is difference between array_merge and array_combine in php?

1042


Can I include php in javascript?

1066


Require_once(), require(), include(). What is difference between them?

976


Explain me what are the 3 scope levels available in php and how would you define them?

1206


What is php namespace?

984


What are the Advantages and Application Areas of PHP?

942


What is Mcrypt used for?

989


How we can declare variable in php?

964


Tell me how can we display information of a variable and readable by human with php?

1034