Form Wizard Pro: Use a value of form variable for To email address

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
10/7/2011 8:23:57 AM
Gravatar
Total Posts 9

Form Wizard Pro: Use a value of form variable for To email address

Hi,

I've created a form that needs to be sent to an email address that is entered in the form rather than to one fixed email address. Is there a way to do so?

So I've got a question called email_manager and I need to send the mail to value entered in email_manager.

Hope you can help!

Nathalie

10/7/2011 8:30:15 AM
Gravatar
Total Posts 18439

Re: Form Wizard Pro: Use a value of form variable for To email address

Hi Nathalie,

It isn't possible with the standard form submission notification, but it would be possible to do this by implementing a custom Form Submission Handler.

Hope that helps,

Joe

10/10/2011 4:40:14 AM
Gravatar
Total Posts 9

Re: Form Wizard Pro: Use a value of form variable for To email address

Hi Joe,

thanks, I'll give it a try..

N

10/10/2011 8:32:26 AM
Gravatar
Total Posts 9

Re: Form Wizard Pro: Use a value of form variable for To email address

Hi Joe,

got it all working! I've included some minor modifications for your documentation:

 

At step 2 I did not find sts.FormWizard.UI.dll, so I added sts.FormWizard.Web.UI.dll instead. Also added the following line:

using sts.FormWizard.Web.UI;

At build, I get the following error:

The type 'System.Configuration.Provider.ProviderBase' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.

So I've added System.configuration.dll to the references as well.

When using the Email code, I've added the following:

using mojoPortal.Web;
using mojoPortal.Net;

Again, thanks a lot!

N

You must sign in to post in the forums. This thread is closed to new posts.