Forum FAQForum FAQSearchSearch MemberlistMemberlist Forum ignore listForum ignore list RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in
asp(x) contact forma

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Server-side
View previous topic :: View next topic  
Author Message
jurka



Joined: 26 Aug 2004
Posts: 1088
Location: Zagreb

PostPosted: 10.10.2005 09:33    Post subject: asp(x) contact forma Add user to your forum ignore list Reply with quote

trebao bi neku asp / aspx kontakt formu u koju user upiše svoje najosnovnije podatke i eventualno komentar i to klikom na gumb šalji pošalje na mail koji sam naznačio. može li biti jednostavnije?
trebao bi link, file, tutorial, bilo šta. ako neko ima...

_________________
Jedan šest | Behance | Vimeo
Back to top
View user's profile Send private message Visit poster's website
r3dsc0rpi0n



Joined: 20 Apr 2005
Posts: 354
Location: Zagreb

PostPosted: 10.10.2005 10:39    Post subject: Add user to your forum ignore list Reply with quote

Code:

<%@ Page Language="VB" %>
<%@ import Namespace="System.Web.Mail" %>
<script runat="server">

    Sub Send(Sender As Object,E As EventArgs)
               Dim objmail As New MailMessage
                      objmail.To="adresa@domena.com"
                      objmail.From=email.text
                      objmail.Subject="Subject"
                      objmail.BodyFormat=MailFormat.Text
                      objmail.Body=ime.text + txtPrezime.text +  komentar.text +  txtTel.text
                      smtpmail.smtpserver="mail.domena.com"
        Try
                      smtpmail.send(objmail)
                      message.text="<b>Vaš mail je uspješno poslan!</b>"
        Catch Exc As Exception
                      message.text="<b>Došlo je do greške prilikom slanja!</b>"
        End Try



    End Sub

</script>



btw pozdravi anisu ak ju vidis Wink

_________________
::: Fortis est, qui se vincit ! ::::
Back to top
View user's profile Send private message Send e-mail Visit poster's website Twitter profile
jurka



Joined: 26 Aug 2004
Posts: 1088
Location: Zagreb

PostPosted: 10.10.2005 11:29    Post subject: Add user to your forum ignore list Reply with quote

A šta da kažem tko pozdravlja?

_________________
Jedan šest | Behance | Vimeo
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Server-side All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group