I'm trying to do a good deed here and have run straight into a wall. I'm building a website for a church free of charge, they have requested an online e-vite. Where people can fill out a web-based form
And the online form will send the message to the right of the form. Well I've done contact forms before and they all worked out great, but I think it's the length of the text that is causing my problem. Also I'm not sure how to do an html email.
This part of the code works.
<?php
$subject = "$your_name has invited you to Living Hope Church.";
$invite = "Do you ever get lost in a daydream, wishing your life was a bit more exciting or that you had an opportunity to have a real impact on the world? Do you wish you were an explorer like Indiana Jones, trading the safe and predictable for a thrilling adventure of discovery? Well, life doesn't have to be dull and boring. You can experience amazing adventures on a journey with Jesus Christ. When God begins to work in your life, He provides direction and meaning unlike anything you've ever encountered. As you begin to grow in your understanding of Christianity, you begin to pick up an assortment of useful "treasures" that can give your life new significance. Living Hope Church will help you find the treasures of faith, hope, and love, and explain how collecting them can make you a difference maker. ";
$comments=stripslashes("Dear: $send_name \r\n\r\n$invite \r\n\r\n$message \r\n\r\n$your_name");
mail($send_email, $subject, $comments);
?>
but when I try to add the rest of the verbage, it just quits working. No errors are displayed.
Thanks,
Jewel
When faced with a decision, always ask, 'Which would be the most fun?'
And the online form will send the message to the right of the form. Well I've done contact forms before and they all worked out great, but I think it's the length of the text that is causing my problem. Also I'm not sure how to do an html email.
This part of the code works.
<?php
$subject = "$your_name has invited you to Living Hope Church.";
$invite = "Do you ever get lost in a daydream, wishing your life was a bit more exciting or that you had an opportunity to have a real impact on the world? Do you wish you were an explorer like Indiana Jones, trading the safe and predictable for a thrilling adventure of discovery? Well, life doesn't have to be dull and boring. You can experience amazing adventures on a journey with Jesus Christ. When God begins to work in your life, He provides direction and meaning unlike anything you've ever encountered. As you begin to grow in your understanding of Christianity, you begin to pick up an assortment of useful "treasures" that can give your life new significance. Living Hope Church will help you find the treasures of faith, hope, and love, and explain how collecting them can make you a difference maker. ";
$comments=stripslashes("Dear: $send_name \r\n\r\n$invite \r\n\r\n$message \r\n\r\n$your_name");
mail($send_email, $subject, $comments);
?>
but when I try to add the rest of the verbage, it just quits working. No errors are displayed.
Thanks,
Jewel
When faced with a decision, always ask, 'Which would be the most fun?'