Buy Now
Sign in

HTML e-mails

abasel , March 06 2008, 08:13
A
abasel 148
March 06 2008, 08:13 #6284
Is there a link to a page explaining how to send a html formated e-mail to a person once they have submitted a form?
GreyHead 64
March 06 2008, 22:43 #6316
Hi abasel,

If you *only* want to send a thank-you email to the submitter then you can use the email template for this.

If you want to send a results email to an admin, and a different email to the submitter then you can do this from the OnSubmit after email field. Here's an example:
<?php 
$recipient = $_POST['email'];
$subject = "Our Website- thanks";
$html_message = "
<p>Thank you for submitting a feedback form.</p>
<p>. . . some text . . .</p>
<p>Best wishes,<br />The Our Website Team</p>";
mosMail($from, $fromname, $recipient, $subject, $html_message, true );
echo $html_message;
This version actually both sends an email and show the same message on the Thank You page.

Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
S
sustainmadison 2
August 26 2009, 18:02 #39423
Is this the full code?

Didn't send an email for me.
GreyHead 64
August 26 2009, 18:22 #39426
Hi sustainmadison,

That's very old Joomla 1.0 code. Please check the email tutorial.

Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
S
soamz 51
April 29 2010, 13:49 #50726
Hi..
I also want to setup an Auto Responder .
do lot nu, do lot cao cap, do boi nam, do so sinh tron goi, do so sinh cao cap cho be, quan ao so sinh cao cap, chan vay cong so, ao so mi cong so, ban buon quan ao, do lot[/url]
Bob, where is the email tutorial ? :?