T O P I C R E V I E W |
Mental2k |
Posted - 09 February 2004 : 17:34:56 Ok my last couple of posts were hastily done, and ill thought through, I'm hopin this will help clear up any misunderstandings with mods, and get an answer to my question. http://Postbox.mac-net.com is a way to send emails over the net. The following code can be put on a site to send an email from any site, even without CDONTS.
----- BEGIN example.htm ----- ----- BEGIN example.htm ----- ----- BEGIN example.htm ----- <html><head><title>Email Example Using MAC-NET</title></head><body> <font face='arial' size="2"> <center><h1>Email Example Using MAC-NET</h1></center>
<center><form method="GET" action="http://mac-net.com.sg/postbox/sendmail.asp?"> <table><tr><td> <!-- NOTE!!! It is important to keep the field names on this form ("to", "fm", etc.) as they <!-- are shown. These are the field names the MAC-NET server expects to see.
TO:<input type="text" name="to"> FROM:<input type="text" name="fm"></td></tr><tr><td> SUBJECT:<input type="text" name ="re" size="50"></td></tr><tr><td>
<textarea name="msg" wrap="physical" rows=6 cols=60 value=""> </textarea></td></tr><tr><td>
<input type="hidden" name="rd" value="http://www15.brinkster.com/vbwizard/emailexample/emailok.htm">
<input type="submit" value="Send Email"><input type="reset" value="Clear"> </td></tr></table> </form></center> </body></html> ----- END example.htm ----- ----- END example.htm ----- ----- END example.htm -----
----- BEGIN emailok.htm ----- ----- BEGIN emailok.htm ----- ----- BEGIN emailok.htm ----- <html><head><title>Email Example</title></head><body> <center> <h1>Email Example</h1> <h3>Your email was successfully sent!</h3> </center> </body></html> ----- END emailok.htm ----- ----- END emailok.htm ----- ----- END emailok.htm -----
Is there any way this can be incorperated into the forum to allow the sending of validation emails et al, without the need for CDONTS. I'm not particularly codey person, but if each field were set to automatically fill with variables generated while sending emails with CDONTS then would this work the same? Also how would I achieve this.
Any help on this topic from a mod, or someone who knows asp and could tell me how and where to splice this code into the forum, it would be very helpfull.
With many expectant thanks,
Alex.
ps. sorry for my crap english!< |
6 L A T E S T R E P L I E S (Newest First) |
Mental2k |
Posted - 10 February 2004 : 08:24:23 Yeah I'll see if it works, thanks for the help!< |
Nikkol |
Posted - 10 February 2004 : 06:17:45 I know of no free SMTP server. Can't you just try your ISP's server?< |
Mental2k |
Posted - 10 February 2004 : 06:00:09 Could anyone suggest a free external SMTP server I could use that would allow me to use CDOSYS or CDONTS on, can I just put that in as my email server when setting it up? thanks for all the help you guys are givin me. You are helpful no end
Sorry about bein a N00B about these things sometimes.
Alex< |
RichardKinser |
Posted - 09 February 2004 : 21:27:57 why not just use CDOSYS with an external SMTP server? In most cases, you can just use your ISP's SMTP server.< |
Nikkol |
Posted - 09 February 2004 : 21:24:59 my guess is that you would add an option to inc_mail.asp for this and use:
response.redirect("http://mac-net.com.sg/postbox/sendmail.asp?to=" & strRecipients & "&frm=" & strSender & "&re=" & strSubject & "&msg=" & strMessage)
but that would take you away from the forum. it looks like that page allows a redirection back, but the problem is that with many of the pages that use email, there may be more processing on the page needed ... a redirect would stop this processing. I suppose you could insert some javascript to open a new window, but I'm not sure exactly what would be needed.< |
ruirib |
Posted - 09 February 2004 : 19:15:19 I guess that way of doing it will require a certain amount of changes to the way email validations is handled by Snitz now, and thus it will required some effort. I guess that's why you haven't had that much feedback.< |