ODBiC Discussion Board


Sendmail

by Robert Zant, February 23, 2005 14:19

I have just started to use ODBscript and have run into a problem using sendmail. I tried using the mail server of my ISP (outgoing.verizon.net) and the server where I work, both with no luck. I then installed Free SMTP Server and could send email to my work account but not to my ISP account or to my Hotmail address. I have both ports 80 and 25 forwarded from my router to the computer.

The code used is: <% SENDMAIL SERVER=localhost, FROM=$FromID$, TO=$ToID$, Subject=$Subject$ %> $Message$ <% ENDMAIL %>

With a form:

<FORM METHOD="POST" ACTION="/cgi-bin/odb.exe/email/eMail.odb"> <input type="hidden" name="ToID" value="me@atwork.com"> <input type="hidden" name="FromID" value="me@verizon.net"> <input type="hidden" name="Subject" value="Test"> <input type="hidden" name="Message" value="Great - it worked"> <INPUT TYPE = "submit" VALUE = " Send Mail "> </FORM>

Thanks in advance for your help.



Replies:


Post Your Reply:

Name   
E-mail  optional
Topic  
Message:

HTTP Link: 
Link text: 

          


Copyright ©1997-2003, Roger Harris. All rights reserved.