Board index   FAQ   Search  
Register  Login
Board index PHP PHP General

Email

General discussions related to php

Moderators: macek, egami, gesf

Email

Postby loon » Sun Jul 06, 2003 6:24 am

how can I send the result through email in a local intranet? have the example? thankq!!!
loon
New php-forum User
New php-forum User
 
Posts: 4
Joined: Sun Jul 06, 2003 2:51 am

mail()

Postby ruturajv » Sun Jul 06, 2003 8:44 am

Get the post or whatever results in the variable on a page
eg.

$answer = $_POST['ans'];
...... and so on
and then use mail function

mail("username@example.com", "Subject line", $answer);

Hope it helps
User avatar
ruturajv
php-forum Super User
php-forum Super User
 
Posts: 1280
Joined: Sat Mar 22, 2003 9:42 am
Location: Mumbai, India


Return to PHP General

Who is online

Users browsing this forum: No registered users and 2 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.