Newbies techmonkey Posted October 31, 2001 Newbies Posted October 31, 2001 Ok everything is going smoothly so far.. However, I ran into some problems. Here is my contact page form. <FORM ACTION="FMPro" METHOD="post"> <input type="hidden" name="-DB" value="contactsUs.fp5"> <input type="hidden" name="-Format" value="thankyou.htm"> <INPUT TYPE="hidden" NAME="-LAY" VALUE="Main"> <INPUT TYPE="hidden" NAME="-Error" VALUE="error.htm"> <INPUT TYPE="hidden" NAME="-MailTo" VALUE="[email protected]"> <INPUT TYPE="hidden" NAME="-MailSub" VALUE="Test"> <INPUT TYPE="hidden" NAME="-MailHost" VALUE="mysmtp.com"> <INPUT TYPE="hidden" NAME="-MailFormat" VALUE="mailformat.txt"> <INPUT TYPE="hidden" NAME="-MailFrom" VALUE="[email protected]"> My question is.. under the mailhost tag I don't want to specify any smtp. I want to use the client's SMTP host. In other words.. sort of do what the mailto action does. It automatically detects the client's smtp host (if it exists) and sends the email. Is there any way I can accomplish the same without specifying the -mailshost tag in my form? Meaning.. hit the submit button --> automatically detect the client's smtp host (dont have to specify it in the -mailhost tag) --> submit my current form/email ?? (same thing the action mailto: does) Any help will be greatly greatly appreciated. Thanks in advanced. aG.
Anatoli Posted October 31, 2001 Posted October 31, 2001 You can specify any SMTP host, but that will be quite hard to set the privileges on the remote SMTP host, so it will allow you to send messages and not be "open for spamming".
Vaughan Posted October 31, 2001 Posted October 31, 2001 You have to specify a host otherwise Web Companion does not know where to send the mail! Mailto is different: the *client's browser* is handling the e-mail process, not Web Companion on the server: with mailto the message is coming from the client's machine.
Recommended Posts
This topic is 8493 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now