Find Code:
All Words
Any of the Words
Exact Phrase
Home
:
Code
:
Forums
:
Submit
:
Mailing List
:
About
:
Contact
Code
All
VB.NET
ASP.NET
C#
VB Classic
ASP Classic
Snippets
Popular
Resources
Submit Code
Forums
Articles
Tips
Links
Books
Contest
Link to us
Snippet which demonstrates how to use the popular ...
E-mail:
Click to e-mail author
Website:
http://www.a1vbcode.com/
Submitted:
6/7/2000
Version:
ASP
Compatibility:
ASP
Category:
ASP
Views:
14518
Snippet which demonstrates how to use the popular JMail ASP mail component to send form mail from your ASP pages.
Declarations:
'none
Code:
<% Dim email,comments Dim JMail Set JMail = Server.CreateObject("JMail.SMTPMail") 'Get e-mail and comments from querystring email = Request.Form("email") comments = Request.Form("comments") JMail.Sender = "feedback@a1vbcode.com" 'set your mail server address JMail.ServerAddress = "mail.a1vbcode.com" JMail.AddRecipient("feedback@a1vbcode.com") JMail.Subject = "User Feedback" JMail.Body = comments 'set priority to "Normal" JMail.Priority = 3 'send mail using Execute method JMail.Execute Set JMail = Nothing %>
Home
|
Forums
|
Submit
|
Books
|
Mailing List
|
Advertising
|
About
|
Contact
© 2024 A1VBCode. All rights reserved.
Legal disclaimer & terms of use
Privacy statement