Total members 11895 |It is currently Sun Dec 22, 2024 10:27 am Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka





Code:
<?php mail("codemiles@codemiles",$subject,$body,$FeedbackType,$email);


Am assuming here you are Posting these parameter from a form or something and after that you will send them to a specified mail ,
the all idea is based on the php mail function , :Heristical:

Code:
<?php
$name
= $_POST['name'];
$email = $_POST['email'];
$subject = $_POST['subject'];
$body = $_POST['comment'];
$FeedbackType = $_POST['FeedbackType'];


mail("codemiles@codemiles",$subject,$body,$FeedbackType,$email);

    echo(
"<p><b>Thank you for your feedback. The following message was sent to Codemiles Team from $name:</b> (not really)</p>\n");
    echo(
"<blockquote><pre>\n");
    echo(
"$body");
    echo(
"</pre></blockquote>");

?>




_________________
M. S. Rakha, Ph.D.
Queen's University
Canada


Author:
Mastermind
User avatar Posts: 2715
Have thanks: 74 time
Post new topic Reply to topic  [ 1 post ] 

  Related Posts  to : send mail using php
 how to send mail with Ant     -  
 send mail cc and bcc in php     -  
 How to send conformation e-mail through JSP     -  
 send mail to Multiple recipients     -  
 validate e-mail in php     -  
 validate mail in jsp     -  
 Help Sending e-mail from VB.Net application     -  
 mail system in java     -  
 mail function problem     -  
 php variables in mail function     -  



Topic Tags

PHP Email






Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com