Hello Eric,<br><br>I see that you have no (:zap email:) field, therefore it is normal that no email is sent. What is strange is that you are redirected to a blank page because you have no (:zap nextpage:) statement.<br><br>
Try with this script, which I use on my site:<br><br>(:messages:)<br>(:zapform key=SendAMessage:)<br>(:zap datapage="Messages" SendAMessage:)<br>(:zap email="<a href="mailto:info@web-farm.org">info@web-farm.org
</a>" SendAMessage:)<br>(:input hidden emailsubject "Message coming from <a href="http://web-farm.org/{$Group}">web-farm.org/{$Group}</a>":)<br>(:table width=100% border=0:)<br>(:input hidden Origin {$Group}:)
<br>(:cellnr width=120:)Your name<br>(:cell:)(:input text Name:)<br>(:cellnr:)Your email<br>(:cell:)(:input text emailfrom:)<br>(:cellnr:)Your message<br>(:cell:)(:input textarea emailbody cols=48 rows=6:)<br>(:cellnr:)<br>
(:cellnr:)<br>(:cell:)(:input submit value="Send us your message":)<br>(:tableend:)<br>(:zapend:)<br><br>If it does not work, please provide the version of pmwiki and the version of ZAP you are using.<br><br>Cheers,
<br><br>Benoit<br><br><br><div><span class="gmail_quote">2007/10/27, Eric H <<a href="mailto:h.eric45@yahoo.com">h.eric45@yahoo.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Hi, </div> <div> </div> <div>I am trying to learn how to make a zap form email me. I want to learn the basics to later adapt it to a form that I can setup for request for creation of Active Directory Accounts.</div>
<div> </div> <div>The problem i have is that when i click on send message button, it sends me to a blank page on my browser and no email ever arrives. </div> <div> </div> <div>Details</div> <div> </div> <div>Code on Page
</div> <div> </div> <div>(:messages:)<br>(:zapform:)<br>(:input hidden emailsubject "Email from my website":)<br>(:input hidden email "<a href="mailto:h.eric45@yahoo.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
h.eric45@yahoo.com</a>":)<br>SEND ME A MESSAGE:<br>||Your Email: ||(:input text emailfrom size=40:)<br>||Subject: ||(:input text emailsubject size=40:)<br>||Message: ||(:input textarea emailbody cols=34 rows=6:)<br>|| ||(:input submit value="Send Message":)
<br>(:zapend:)<br></div> <div>Portion of config file</div> <div> </div>
<div>include_once("$FarmD/cookbook/zap.php");<br>include_once("$FarmD/cookbook/zaptoolbox.php");<br>$ZAPmailmode = true;<br></div> <div> </div> <div>Please Advise,</div><span class="sg"> <div>-Eric
</div></span><span class="ad"><p> __________________________________________________<br>Do You Yahoo!?<br>Tired of spam? Yahoo! Mail has the best spam protection around <br><a href="http://mail.yahoo.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://mail.yahoo.com</a> </p></span><br>_______________________________________________<br>pmwiki-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com
</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users" target="_blank">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br><br></blockquote>
</div><br>