If you have access to a web host that allows PHP, you can use Creator to post to a PHP page and send an email.
Here's an example of the Creator post script: (the input.message is the rich-text field)
- MAIL_DATA={ "to_email" : input.to_email, "from_email" : input.from_email, "subject" : input.subject_field, "message" : input.message };
- RES = postUrl("http://my.site.org/index.php",MAIL_DATA);
- alert RES;
And here's my php form: Note how the Key:Value pairs in the map above match to the form below
- <html>
- <body>
- <?php
- {
- $to_email = $_REQUEST['to_email'] ;
- $from_email = $_REQUEST['from_email'] ;
- $subject = $_REQUEST['subject'] ;
- $message = $_REQUEST['message'] ;
- $headers = "From: ".$from_email."\r\n";
- $headers .= "Reply-To: ".$from_email."\r\n";
- $headers .= "Return-Path: ".$from_email."\r\n";
- $headers .= "Content-type: text/html\r\n";
- mail($to_email, $subject, $message, $headers);
- echo "email sent";
- }
- ?>
- </body>
- </html>
This will send a rich text email with the alert RES = "email sent"
How cool is that? Well, I think it is...
John M. Whitney