Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 "E-mail a friend"-function
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Cyberjunkie
Junior Member

111 Posts

Posted - 25 April 2002 :  06:24:45  Show Profile
Hi all
I have seen this funtion on a couple of websites, and was wondering how hard/easy it is to make this? U just write ur own mail and the friends mail address whom u wish to tell about the website, and an automatic generated mail is send to the friend about the website...can anyone help me with this?

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 25 April 2002 :  06:49:22  Show Profile
Why don't you check out the code in the Snitz Forum? We have a Send topic to a friend function which is pretty much the same thing you are talking about.

All that is done is, you have a form that takes the info (email addresses, name, message etc.) and with the help of an Email Component, you send that info to the component and it sends it to the smtp server.

«------------------------------------------------------»
Want to know when the next version comes out,
as soon as possible? Join our Mailing Lists !
Go to Top of Page

Kat
Advanced Member

United Kingdom
3065 Posts

Posted - 25 April 2002 :  07:17:57  Show Profile  Visit Kat's Homepage
Using a copy of that code would require the copyright link wouldn't it?

KatsKorner

Installation Help | Snitz Mods | Forum Hosting
Go to Top of Page

Cyberjunkie
Junior Member

111 Posts

Posted - 25 April 2002 :  07:33:58  Show Profile
Wow thanx Davio..I didnt know..hmm is it a MOD or is it implemented in the current version of Snitz Forum?

Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 25 April 2002 :  07:35:49  Show Profile
uhhh...I don't think so. If I took a table tag out of the snitz code and used it in my website, would I need the copyright link for that too?

Ok, checking the GPL, you would need the copyright info if you use the exact copy of the code:
quote:
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
If you copy the code and modify it, you will need put notice that you did:
quote:
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:

a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
But I didn't suggest he copy the code. He can use it as a starting point to make his own. The email components usually have examples on thier site of how to send an email using thier component. So he can use that too. He doesn't have to copy the code from Snitz but see how it is done.

«------------------------------------------------------»
Want to know when the next version comes out,
as soon as possible? Join our Mailing Lists !
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 25 April 2002 :  07:36:59  Show Profile
quote:

Wow thanx Davio..I didnt know..hmm is it a MOD or is it implemented in the current version of Snitz Forum?



It's in the current version of the forum.

«------------------------------------------------------»
Want to know when the next version comes out,
as soon as possible? Join our Mailing Lists !
Go to Top of Page

Cyberjunkie
Junior Member

111 Posts

Posted - 25 April 2002 :  08:16:11  Show Profile
Ok now I feel kinda silly...didnt think of that "Send topic to a friend"-link...doh :) Thanx I look at how that script is build. Its not excatly that I am looking for, but definatly a good source for inspiration :)

Go to Top of Page

yyh
Starting Member

New Zealand
16 Posts

Posted - 29 April 2002 :  01:29:03  Show Profile  Send yyh an ICQ Message
Davio,
You said that there is the code for ASP e-mail. May I ask where it is?
Thank a lot!
Amy

Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 29 April 2002 :  01:45:49  Show Profile
quote:

Davio,
You said that there is the code for ASP e-mail. May I ask where it is?
Thank a lot!
Amy



I did?
I don't understand what you mean by "ASP email".

«------------------------------------------------------»
Want to know when the next version comes out,
as soon as possible? Join our Mailing Lists !
Go to Top of Page

yyh
Starting Member

New Zealand
16 Posts

Posted - 29 April 2002 :  03:53:35  Show Profile  Send yyh an ICQ Message
Oh, maybe I make a mistake.
And...
Do you know any about e-mail from the webpage to an e-mail box?
Is the "rdSMTP" a special file which we can't change?

Eg.
set myMail=Server.CreateObject("rdSMTP.SMTPObject")

Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 29 April 2002 :  13:32:07  Show Profile
We support many email components to allow you to send email from your forum to your email address. If you don't see the email component that you have installed, we can add it for you. Just tell us the name of the email component and a link to thier website.

«------------------------------------------------------»
Want to know when the next version comes out,
as soon as possible? Join our Mailing Lists !
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.38 seconds. Powered By: Snitz Forums 2000 Version 3.4.07