Hi there
Posted: Thu Jun 01, 2006 9:48 am
I have been working on sending emails...i am trying to send for emails at one go but unfortunately it is not letting me....the code itself allows me to send 2 only...can somebody tell me why it is doing so....the following is the code
Thanks a lot
Claire
Code: Select all
if($error) {
?>
</p>
<p><span class="style1"><b>The following information is required</b><br />
<?php echo $error;
?></span> <a href="#" onClick="history.go(-1)">Please correct before submitting</a></span>
<?php
}
else
{
$browser = $HTTP_USER_AGENT;
$ip = $REMOTE_ADDR;
// format message
$message = "Online-Form Response for $recipientname:
Title: $Title
Surname: $Surname
Name: $Name
DOB: $DOB
Telephone_Number: $Telephone_Number
Mobile_Number: $Mobile_Number
Email: $Email
Availability: $Availability
Available_weekends_Yes: $Av_wk_yes
Available_weekends_No: $Av_wk_no
Available_Holidays_Yes: $Av_hol_yes
Available_Holidays_No: $Av_hol_no
alt_email: $alt_email
native_lang: $native_lang
trans_lang: $trans_lang
inter_lang: $inter_lang
select_trans: $select_trans
select_qual: $select_qual
Comments_inter: $Comments_inter
Name: $Name3
Company: $Company3
Email_Comp: $Email_Comp3
Name: $Name2
Company2: $Company2
Email_Comp2: $Email_Comp2
Notes: $Notes
-----------------------------
Browser: $browser
User IP: $ip";
$messageref = "Dear $Name3,
We have just received an application from $Title $Name $Surname to register as a translator for . The translator gave your details as a reference, would you please click on the following link and complete the short questionnaire:
http://www.miriamchristine.com/test/Questionnaire.php
Your answers will be kept in the strictest confidence and your email address will never be passed on to third parties.
If you have any questions regarding this matter, please reply to this email and we'll be glad to answer any queries you might have.
$messageusref = "A reference request for $Title $Name $Surname has been sent to the following:
$Name3 and $Email_Comp3
$Name2 and $Email_Comp2";
// send mail and print success message
mail($recipientemail,"$subject","$message","From: $Name <$Email>");
if($autoresponse == "yes") {
$autosubject = stripslashes($autosubject);
$automessage = stripslashes($automessage);
mail($Email,"$autosubject","$automessage","From: $recipientname <$recipientemail>");
mail($Email,"$autosubject","$automessage","From: $recipientname <$recipientemail>");
}
echo "$thanks";
}
}
else {
?>Claire
[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:2. Use descriptive subjects when you start a new thread. Vague titles such as "Help!", "Why?" are misleading and keep you from receiving an answer to your question.