Jump to content

Email Problem (SMTP)

This topic is 8291 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

Ok everything is going smoothly so far.. However, I ran into some problems.

Here is my contact page form.


<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.


Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This topic is 8291 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.