Subject: Sendmail, Application - ASP.NET1.1-Urgent..Pls !
Posted By: Abins Post Date: 2/17/2006 7:39:16 AM


  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
Reply By: Lofa Reply Date: 2/21/2006 7:06:32 AM
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)


Go to topic 40368

Return to index page 364
Return to index page 363
Return to index page 362
Return to index page 361
Return to index page 360
Return to index page 359
Return to index page 358
Return to index page 357
Return to index page 356
Return to index page 355