Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Online Form
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Online Form

 Post Reply Post Reply
Author
benzeer View Drop Down
Newbie
Newbie


Joined: 08 July 2002
Location: United Kingdom
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote benzeer Quote  Post ReplyReply Direct Link To This Post Topic: Online Form
    Posted: 14 July 2003 at 7:39am

Hello Everyone,

I am looking for online form to email address something similar to:

http://www.arabia.com/support/form/english/

How I can get this kind of scripts or a program that can do it for you.

 

Thank you,

Back to Top
Diep-Vriezer View Drop Down
Senior Member
Senior Member
Avatar

Joined: 06 August 2003
Location: Netherlands
Status: Offline
Points: 831
Post Options Post Options   Thanks (0) Thanks(0)   Quote Diep-Vriezer Quote  Post ReplyReply Direct Link To This Post Posted: 08 August 2003 at 2:56am
It's not very difficult, just search on Google to the function wich submits mail in ASP.Net, be sure to have a SMTP server configured on IIS, create a function wich sets the form data in the mail headers, and you're done!

Sorry, I was a bit *** against you, so the next post contains some usefull stuff.

Edited by Diep-Vriezer
Gone..
Back to Top
Diep-Vriezer View Drop Down
Senior Member
Senior Member
Avatar

Joined: 06 August 2003
Location: Netherlands
Status: Offline
Points: 831
Post Options Post Options   Thanks (0) Thanks(0)   Quote Diep-Vriezer Quote  Post ReplyReply Direct Link To This Post Posted: 17 August 2003 at 7:11am

Alright, I've come up with something myself (alright, the microsoft MSDN library..):

'Note: This is a code behind file using Visual Basic.NET, so be carefull with copying

Imports System.Web
Imports System.Web.Mail

'I left the other stuff that belong here out

Private Sub SendMail()

  Dim mMessage As MailMessage

  SmtpMail.SmtpServer = "" 'Add the outgoing (smtp) mail server here
  mMessage = New MailMessage
  mMessage.Bodyformat = Mailformat.Text
  mMessage.To = "website@somewhere.com"
  mMessage.From = "websote@somewhereelse.com"
  mMessage.Body = "This is a test e-mail"
  mMessage.Subject = "Website email"
  SmtpMail.Send(mMessage)

End Sub

Excuse me 4 being so (...) ,

Floris [ Diep-Vriezer ]



Edited by Diep-Vriezer
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.