Hey guys,
I'm trying to modify the mailform.pl in order to add "@domain.com" to my Email address field in CONTACT US that is submitted to STMP server.
Problem is that my host will only accept emails if the domain is from my site.
I am trying to combine what the user inputs in the mail field and to add "@domain.com" to the final variable that is sent to the host STMP.
If anyone with programming knowledge knows how to combine variables in pearl please let me know either in the input or in the pearl script.
I tested this parameter out but it did not work. I do not think u can combine a variable and a string in pearl.
$sEmailRecpt = $::g_InputHash{'EmailAddress'} . "@domain.com";
If it is possible to capture the email address then add to it a different ending from the HTML coding than that would also work ...
This is the HTML I am refering too:
</td><td><span class="actrequired">Email Address: *</span></td><td><input type="text" name="EmailAddress" size="50" value="NETQUOTEVAR:EMAILVALUE" /> </td></tr><tr> <td valign="top">
Would really aprechiate your help.
I'm trying to modify the mailform.pl in order to add "@domain.com" to my Email address field in CONTACT US that is submitted to STMP server.
Problem is that my host will only accept emails if the domain is from my site.
I am trying to combine what the user inputs in the mail field and to add "@domain.com" to the final variable that is sent to the host STMP.
If anyone with programming knowledge knows how to combine variables in pearl please let me know either in the input or in the pearl script.
I tested this parameter out but it did not work. I do not think u can combine a variable and a string in pearl.
$sEmailRecpt = $::g_InputHash{'EmailAddress'} . "@domain.com";
If it is possible to capture the email address then add to it a different ending from the HTML coding than that would also work ...
This is the HTML I am refering too:
</td><td><span class="actrequired">Email Address: *</span></td><td><input type="text" name="EmailAddress" size="50" value="NETQUOTEVAR:EMAILVALUE" /> </td></tr><tr> <td valign="top">
Would really aprechiate your help.
Comment