Buck Anderson - DNN Professor Member Login
February 08, 2012

ForumsDNN Professor Forums

DotNetNuke Forums | Xmod Forums | Internet Marketing Forums | DNN Professor Product Forums

Product Support and Product Forums Registration


Subject: Populate "To" email in inquiry form with other email address
Prev Next
You are not authorized to post a reply.

Author Messages
deltamanUser is Offline

DNN Newbie
DNN Newbie
Posts:6
Send This Member a Private Message

05/10/2010 6:00 PM  

Hi

(1) Is it possible and if so how can I populated the "To" parameter of the inquiry form with other email address? I am not interested in email addresses from the DNN users list but email addressses from a listing form previously filled out

(2) By the way the company name and promotional code are populated with the "CName" and "CCode" tokens. Where are these defined because the reference in the main form are not these! Can this method be used to populate the email tags in the inquiry form?

DM

Buck AndersonUser is Offline

DNN Master
DNN Master
Posts:657

Send This Member a Private Message

05/11/2010 9:53 AM  

 Hi DM,

By default there are two XMod email controls on the inquiry form.

One notifies the vendor of the inquiry. It uses the querystring paramater VEID/somevendor@somedomain.com which is the Protected Email (form field ContactEmail2) within the form company section.

In the links, on the detail template, that link to the more info and make inquiry page, you could change the VEID parameter to another form email address.

For example:
Can be changed to ContactEmail form field (the unprotected primary contact email address) or the Vendor email address in the Admin Options section of the form (Form Field named UserEmail)

The other XMod email control sends the Administrator a copy of the inquiry. By default the inquiry form uses {XMOD_PortalEmail} is replaced with the email address assigned to the current portal. This is the email address of the Aministrator that is assigned on the DNN Admin Settings page.

All URL querystring parameters are recieved at the top of the inquiry form by the form parameters.

This emaill can be manually changed in the form parameters at the top of the Make Inquiry form code.

The CName is passing the Company name to the inquiry form to auto populate the company name in the inquiry.

The CCode is passing the promotional code, if one exists, or  defaults to Not Apllicable.

Multiple email addresses can be assigned to the XMod email control by separating the addresses with a comma.

References:

XMod Online Help

XMod Email Control

XMod Constants


Buck Anderson - DNN Professor

DNNprofessor.com


http://twitter.com/DNNprofessor


DotNetNuke - XMod Training Coach and XMod MVP


You are not authorized to post a reply.
Forums > Product Forums > Business Directory > Populate "To" email in inquiry form with other email address



ActiveForums 3.7

Copyright 2004 - 2012 by Jive Media Group LLC. All Rights Reserved.  | Terms of Use | Privacy Statement | Email White Listing | Site Map