- Moderated by:
- Support Team
-
- rank:
-
Freshman
- registered:
- July 2006
- Status:
- offline
- last visit:
- 29.11.07
- Posts:
- 11
Greetings,
I am running WinXP, PN 0.7.6.4, PHP Version 4.3.11, Apache 2.0.54, MySQL 4.1 and I have installed FormExpress 0.3.5. I have created a form using the following submit action...
{FormExpress:sendmail&email_address='slick230@gmail.com'}
I have noticed in the action command it says sendmail but I am unsure if this is the mail transport method or just part of the FormExpress syntax.
Anyhow, when I attempt to send the data collected in the from I get the fail message and I can't figure out why.
The Mailer mod is configured to use SMTP and when I test the config I receive the test email in my inbox. I also have dqHelpdesk installed and it has no problem sending email so I am starting to think FormExpress doesn't like SMTP.
Anyone know how to get FormExpress working nicely with SMTP or have any suggestion? I have seen that others have had similar issues but none of the posts have a solution or alternate suggestion.
Thanks! -
- rank:
-
Freshman
- registered:
- March 2005
- Status:
- offline
- last visit:
- 12.01.08
- Posts:
- 19
I'm using SMTP without any issues. Your Submit Action looks correct. What's the error message you are getting when you try to send? Check that your Success Action & Failure Action are correct. It should look something like this:
{FormExpress:display_message&type='success'&message='Your message has been sent'} If you just want a message.
I was having some error messages saying parsing errors and it was my Success Action code that was wrong. Post what you have as your Success Action and I'll take a look at it. I'm not an expert but willing to help out as I just solved some error problems on my FormExpress.
~Misty
--
Dare To Dream:
Join my Team - Make $$$
or Save Money -
- rank:
-
Freshman
- registered:
- July 2006
- Status:
- offline
- last visit:
- 29.11.07
- Posts:
- 11
Thanks for replying, when I the form is submitted I am get the failure action message listed below.
Submit Action: {FormExpress:sendmail&email_address='slick230@gmail.com'}
Success Action: {FormExpress:display_message&type='success'&message='Your message has been sent'}
Failure Action: {FormExpress:display_message&type='failure'&message='Oops! Something horrid has happened!'}
Thanks! -
- rank:
-
Freshman
- registered:
- July 2006
- Status:
- offline
- last visit:
- 29.11.07
- Posts:
- 11
Ok, I figured out the problem. After reviewing my PHP.ini file I found the line for SMTP and it was pointing to my localhost and not the mail server.
After pointing it to the correct mail server all is well.
Cheers! -
- rank:
-
Freshman
- registered:
- July 2006
- Status:
- offline
- last visit:
- 29.11.07
- Posts:
- 11
Two more questions...
Has anyone been able to get the form to send email to multiple people?
&
What is the syntax for configuring the Success Action to send the user to a new page on the site?
Cheers!
edited by: slick230, Nov 19, 2007 - 11:38 AM -
- rank:
-
Freshman
- registered:
- March 2005
- Status:
- offline
- last visit:
- 12.01.08
- Posts:
- 19
slick230, so sorry i did not respond back. Have no excuse more than it was the holidays, went out of town and am just getting back on line. Glad to see you figured out the other problem: Here's the answer to your two questions:
For your question:Quote
What is the syntax for configuring the Success Action to send the user to a new page on the site?
Under the Success Action - here's the exampleCode
{htmlpages:display&pid='9'}
You need to change the htmlpages to the module name and the 9 to the page id of the module page you want to view.
For your question:Quote
Has anyone been able to get the form to send email to multiple people?
Under the Submit Action - here's the exampleCode
{FormExpress:sendmail&email_address='info@firstemail.net; info@secondemail.com'}
Make sure to put the semicolon (;) between the two or more email addresses.
hope this helps
~Misty
--
Dare To Dream:
Join my Team - Make $$$
or Save Money
