Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Basics
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 17th, 2006, 08:39 AM
Registered User
 
Join Date: Feb 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Sendmail, Application - ASP.NET1.1-Urgent..Pls !



  Dear friends,

   I wrote and application for Sending mails. i don't know what exactly happens. When send button is clicked the message is sended and then we can find it in c:\intepub\mailroot\Queue folder for some time. Then it moves to Drop folder in \mailroot. Wht is the reason.......Urgent...Hlp...pls...ASAP

saas
 
Old February 21st, 2006, 08:06 AM
Authorized User
 
Join Date: Aug 2005
Posts: 68
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I don't know the reason.
But I have use this script to send mail from a form and it works fine for me
<%@ Import Namespace="System.Web.Mail"%>
Dim objMail = New MailMessage
objMail.From = "Some text"
objMail.to = "some text"
objMail.Subject = "Some Text" & subject.text
objMail.Body = " Senders email: " & email.text & vbcrlf & " Sender name: " & names.text & vbcrlf & " Comments: " & feedback.text
SmtpMail.SmtpServer = "localhost"
SmtpMail.Send(objMail)






Similar Threads
Thread Thread Starter Forum Replies Last Post
image varification problem in asp.net1.1 plz help nirmalbarsainyan ASP.NET 1.x and 2.0 Application Design 0 November 15th, 2006 12:54 AM
Error in hosting ASP.NET1.1 Project [email protected] ASP.NET 1.0 and 1.1 Basics 1 October 13th, 2006 07:39 AM
SendMail from a Console Application r_ganesh76 General .NET 3 March 1st, 2005 11:25 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.