Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Meet and Greet (http://www.go4expert.com/community/meet-and-greet/)
-   -   email through php (http://www.go4expert.com/community/email-through-php-t10013/)

henna 14Apr2008 17:04

email through php
 
hello,

can any body tech me how to email through php
thanks

cdc5205 17Apr2008 04:49

Re: email through php
 
PHP Code:

<?php
// The message
$message "Line 1\nLine 2\nLine 3";

// In case any of our lines are larger than 70 characters, we should use wordwrap()
$message wordwrap($message70);

// Send
mail('caffinated@example.com''My Subject'$message);
?>

that's an example from

http://us.php.net/manual/en/function.mail.php

SpOonWiZaRd 25Apr2008 14:30

Re: email through php
 
I never even knew you could do that...


All times are GMT +5.5. The time now is 08:39.