Total members 11893 |It is currently Tue Nov 05, 2024 1:32 pm 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
 send mail cc and bcc in php     -  
 how to send mail with Ant     -  
 How to send conformation e-mail through JSP     -  
 send mail to Multiple recipients     -  
 validate mail in jsp     -  
 validate e-mail in php     -  
 mail system in java     -  
 mail function problem     -  
 php variables in mail function     -  
 Help Sending e-mail from VB.Net application     -  



Topic Tags

PHP Email
cron





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