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...

How to send Email using PHP with MySQL in Linux Server?..

Answer Posted / ks.tarun

u can send mail via php in linux with he help of linux
commands s well like..
<?php

$file = "test.txt";
system("echo -e 'Message Body' | mutt -s 'Subject' -a
test.txt email@email.com");
?>

that will send mail to the recipient with attachment of file.
for that u just have to install mutt rpm also
for that run below commands:

# yum -y install *mutt*

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is PDO?

1212


How to get number of elements in an array?

952


What are sql functions?

905


Tell me what is the use of "enctype" attribute in a html form?

966


How can we pass the variable through the navigation between the pages?

933


How can we automatically escape incoming data?

929


What is difference between strstr() and stristr()?

984


What is the difference between $argv and $argc? Give example?

923


How would you declare a function that receives one parameter name hello?

923


What is nan value?

880


What is session cookies php?

938


What is php limit?

992


What is the difference between core php and php?

893


What is self in php?

1091


Why constructor is not overridden?

934