I have my script from a form i wish to have send an email to the selected
email address that varies according to a lookup and I have the script from
my" isp" to allow it to work however i cant figure out where to place the
"isp"script in the form could someone please take a look and let me know

many thanks in advance!
Cheers
Chris

attached 1
My page script
"""""name="FrontPage_Form1">

<!--webbot bot="SaveResults" startspan
S-Email-Format="TEXT/PRE" S-Email-Address="&lt;&lt;Email&gt;&gt;"
B-Email-Label-Fields="TRUE" S-Date-Format="%d %B, %Y" S-Time-Format="%I:%M
%p" S-Builtin-Fields="Date Time" S-Form-Fields="Name Returnemail Request
Contactno " --><!--webbot bot="SaveResults" endspan --><p
align="center">Gotit.co.za</p><p align="center">

<!--webbot bot="DatabaseResultColumn"
s-columnnames="ID,Business,Dealing,Contactperson,Landline,Remote_computer_na
me,User_name,Browser_type,Timestamp,Resultscatagory,newsubcategory,Email,Pai
d detail,Description,Services,Address,classifieds,Website" s-column="Email"
b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE" clientside
b-MenuFormat preview="&lt;font
size=&quot;-1&quot;&gt;&amp;lt;&amp;lt;&lt;/font&gt;Email&lt;font
size=&quot;-1&quot;&gt;&amp;gt;&amp;gt;&lt;/font&gt;" startspan
s-ColumnTypes="3,202,202,202,202,202,202,202,135,202,202,202,202,203,203,203
,202,202" --><%=FP_FieldVal(fp_rs,"Email")%><!--webbot
bot="DatabaseResultColumn" endspan i-checksum="8328" --></p>

<p align="center"><font size="1">Business
Reference</font></p>

<p>Name<input type="text" name="Name"
size="34"></p><p>Email<input type="text" name="Returnemail" size="34"></p>

<p><!--webbot bot="Validation" s-display-name="enter your
request" b-value-required="TRUE" i-minimum-length="3"
i-maximum-length="100" --><textarea rows="2" name="Request"
cols="39"></textarea></p><p>Contact no<input type="text" name="Contactno"
size="27"></p><p align="center"><input type="submit" value="Submit"
name="submit"><input type="reset" value="Reset" name="B2"></p>

</form>""""""



Isp script

"""""


SMTP.UserID = "isat0000@isat.co.za" 'use your isat mailbox
SMTP.FromName = "A.N. Other" 'Your name
SMTP.FromAddress = "test@isat.co.za" 'your email address
SMTP.ToAddress = Request("Email") 'recipient addresses
SMTP.Subject = Request("Name") 'Subject
SMTP.Body = _
"Name: " & Request("Name") & Chr(13) & Chr(10) & _
"Email: " & Request("EMail") & Chr(13) & Chr(10) & _
"Description: " & Request("Description")
if not SMTP.Send then
Response.Write("<p>Error: " & SMTP.Error & "</p>")
else
Response.Write("<p>Order sent.</p>")
end if
Set SMTP = Nothing
%>
</body>
</html""""""

thanks for any help

Re: Scripting aid please by Stefan

Stefan
Sun Sep 12 03:17:49 CDT 2004

Not supported by the FP Forms handler
- you need to use a Server side script (using ASP or PHP or Perl/CGI)

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
_____________________________________________


"Chris van den Heever" <isat1413@isat.co.za> wrote in message news:chvitu$sq1$1@ctb-nnrp2.saix.net...
| I have my script from a form i wish to have send an email to the selected
| email address that varies according to a lookup and I have the script from
| my" isp" to allow it to work however i cant figure out where to place the
| "isp"script in the form could someone please take a look and let me know
|
| many thanks in advance!
| Cheers
| Chris
|
| attached 1
| My page script
| """""name="FrontPage_Form1">
|
| <!--webbot bot="SaveResults" startspan
| S-Email-Format="TEXT/PRE" S-Email-Address="&lt;&lt;Email&gt;&gt;"
| B-Email-Label-Fields="TRUE" S-Date-Format="%d %B, %Y" S-Time-Format="%I:%M
| %p" S-Builtin-Fields="Date Time" S-Form-Fields="Name Returnemail Request
| Contactno " --><!--webbot bot="SaveResults" endspan --><p
| align="center">Gotit.co.za</p><p align="center">
|
| <!--webbot bot="DatabaseResultColumn"
| s-columnnames="ID,Business,Dealing,Contactperson,Landline,Remote_computer_na
| me,User_name,Browser_type,Timestamp,Resultscatagory,newsubcategory,Email,Pai
| d detail,Description,Services,Address,classifieds,Website" s-column="Email"
| b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE" clientside
| b-MenuFormat preview="&lt;font
| size=&quot;-1&quot;&gt;&amp;lt;&amp;lt;&lt;/font&gt;Email&lt;font
| size=&quot;-1&quot;&gt;&amp;gt;&amp;gt;&lt;/font&gt;" startspan
| s-ColumnTypes="3,202,202,202,202,202,202,202,135,202,202,202,202,203,203,203
| ,202,202" --><%=FP_FieldVal(fp_rs,"Email")%><!--webbot
| bot="DatabaseResultColumn" endspan i-checksum="8328" --></p>
|
| <p align="center"><font size="1">Business
| Reference</font></p>
|
| <p>Name<input type="text" name="Name"
| size="34"></p><p>Email<input type="text" name="Returnemail" size="34"></p>
|
| <p><!--webbot bot="Validation" s-display-name="enter your
| request" b-value-required="TRUE" i-minimum-length="3"
| i-maximum-length="100" --><textarea rows="2" name="Request"
| cols="39"></textarea></p><p>Contact no<input type="text" name="Contactno"
| size="27"></p><p align="center"><input type="submit" value="Submit"
| name="submit"><input type="reset" value="Reset" name="B2"></p>
|
| </form>""""""
|
|
|
| Isp script
|
| """""
|
|
| SMTP.UserID = "isat0000@isat.co.za" 'use your isat mailbox
| SMTP.FromName = "A.N. Other" 'Your name
| SMTP.FromAddress = "test@isat.co.za" 'your email address
| SMTP.ToAddress = Request("Email") 'recipient addresses
| SMTP.Subject = Request("Name") 'Subject
| SMTP.Body = _
| "Name: " & Request("Name") & Chr(13) & Chr(10) & _
| "Email: " & Request("EMail") & Chr(13) & Chr(10) & _
| "Description: " & Request("Description")
| if not SMTP.Send then
| Response.Write("<p>Error: " & SMTP.Error & "</p>")
| else
| Response.Write("<p>Order sent.</p>")
| end if
| Set SMTP = Nothing
| %>
| </body>
| </html""""""
|
| thanks for any help
|
|



Re: Scripting aid please by MD

MD
Sun Sep 12 07:08:05 CDT 2004

Hi Chris,

This sounds like a server side script that would be used in the action attribute of the form tag. You'll need to consult with your
ISP WPP for specific usage instructions.


--
Mike -- FrontPage MVP '97-'02
J-Bots 2004 Released Special Pricing
http://www.websunlimited.com
FrontPage Add-ins Since '97 FP 2003 / 2002 / 2000 Compatible

"Chris van den Heever" <isat1413@isat.co.za> wrote in message news:chvitu$sq1$1@ctb-nnrp2.saix.net...
> I have my script from a form i wish to have send an email to the selected
> email address that varies according to a lookup and I have the script from
> my" isp" to allow it to work however i cant figure out where to place the
> "isp"script in the form could someone please take a look and let me know
>
> many thanks in advance!
> Cheers
> Chris
>
> attached 1
> My page script
> """""name="FrontPage_Form1">
>
> <!--webbot bot="SaveResults" startspan
> S-Email-Format="TEXT/PRE" S-Email-Address="&lt;&lt;Email&gt;&gt;"
> B-Email-Label-Fields="TRUE" S-Date-Format="%d %B, %Y" S-Time-Format="%I:%M
> %p" S-Builtin-Fields="Date Time" S-Form-Fields="Name Returnemail Request
> Contactno " --><!--webbot bot="SaveResults" endspan --><p
> align="center">Gotit.co.za</p><p align="center">
>
> <!--webbot bot="DatabaseResultColumn"
> s-columnnames="ID,Business,Dealing,Contactperson,Landline,Remote_computer_na
> me,User_name,Browser_type,Timestamp,Resultscatagory,newsubcategory,Email,Pai
> d detail,Description,Services,Address,classifieds,Website" s-column="Email"
> b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE" clientside
> b-MenuFormat preview="&lt;font
> size=&quot;-1&quot;&gt;&amp;lt;&amp;lt;&lt;/font&gt;Email&lt;font
> size=&quot;-1&quot;&gt;&amp;gt;&amp;gt;&lt;/font&gt;" startspan
> s-ColumnTypes="3,202,202,202,202,202,202,202,135,202,202,202,202,203,203,203
> ,202,202" --><%=FP_FieldVal(fp_rs,"Email")%><!--webbot
> bot="DatabaseResultColumn" endspan i-checksum="8328" --></p>
>
> <p align="center"><font size="1">Business
> Reference</font></p>
>
> <p>Name<input type="text" name="Name"
> size="34"></p><p>Email<input type="text" name="Returnemail" size="34"></p>
>
> <p><!--webbot bot="Validation" s-display-name="enter your
> request" b-value-required="TRUE" i-minimum-length="3"
> i-maximum-length="100" --><textarea rows="2" name="Request"
> cols="39"></textarea></p><p>Contact no<input type="text" name="Contactno"
> size="27"></p><p align="center"><input type="submit" value="Submit"
> name="submit"><input type="reset" value="Reset" name="B2"></p>
>
> </form>""""""
>
>
>
> Isp script
>
> """""
>
>
> SMTP.UserID = "isat0000@isat.co.za" 'use your isat mailbox
> SMTP.FromName = "A.N. Other" 'Your name
> SMTP.FromAddress = "test@isat.co.za" 'your email address
> SMTP.ToAddress = Request("Email") 'recipient addresses
> SMTP.Subject = Request("Name") 'Subject
> SMTP.Body = _
> "Name: " & Request("Name") & Chr(13) & Chr(10) & _
> "Email: " & Request("EMail") & Chr(13) & Chr(10) & _
> "Description: " & Request("Description")
> if not SMTP.Send then
> Response.Write("<p>Error: " & SMTP.Error & "</p>")
> else
> Response.Write("<p>Order sent.</p>")
> end if
> Set SMTP = Nothing
> %>
> </body>
> </html""""""
>
> thanks for any help
>
>