473,320 Members | 1,948 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Sending mail from a Web application(SMTP)

Hi All,
I am trying to send email from my web application. I am using the
System.Net.Mail name space for the same.

Now my question is what all are required for having this capability in
my web application?

If I have the SMTP service installed and running in the same IIS(where
my web application is also running) will that be sufficient. Do I need
some other SMTP server also.
I remember during the ASP days I used CDONTS object and SMTP service
to send mails. But here it doesn't seem to work with just SMTP service
enabled. All the mails are going to the Badmail folder.

Any help to this will be highly appreciated.
Kris

May 28 '07 #1
1 1315
Your local IIS will send via System.Net.Mail & SMTP if you have the service
enabled properly.

--
Jimmy V
..NET Development Team - CTS, Inc
jv*********@hotmail.com

www.askcts.com
"Krish" <ba****@gmail.comwrote in message
news:11**********************@q75g2000hsh.googlegr oups.com...
Hi All,
I am trying to send email from my web application. I am using the
System.Net.Mail name space for the same.

Now my question is what all are required for having this capability in
my web application?

If I have the SMTP service installed and running in the same IIS(where
my web application is also running) will that be sufficient. Do I need
some other SMTP server also.
I remember during the ASP days I used CDONTS object and SMTP service
to send mails. But here it doesn't seem to work with just SMTP service
enabled. All the mails are going to the Badmail folder.

Any help to this will be highly appreciated.
Kris

May 29 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Alex Hunsley | last post by:
I am using the smtp module to send emails via a local SMTP server on our network. I am failing with "connection refused" error, even though we definitely have an smtp server running on port 25! ...
4
by: z f | last post by:
Hi, i'm sending mail from the aspx page on the server. it is running on hosting, so i configure the System.Web.Mail.SmtpMail.SmtpServer property to my mail server. but problem is that sender...
6
by: Brian M | last post by:
I have an ASP.NET application using .NET Framework 1.1 running on a Windows 2003 server. The application uses SMTP to send emails. This application was moved from an IIS 5 machine where it worked...
3
by: Ersin Gençtürk | last post by:
hi, which component do you prefer to send emails with embedded images ? Is there a freeware and native .net component available ? Note that I don't want to send images as attachments.
1
by: ashim.chowdhury | last post by:
While using mail() function in PHP I am getting thjis error Warning: mail(): SMTP server response: 505 5.7.3 Must issue a STARTTLS command first I have used...
2
by: =?Utf-8?B?QWRl?= | last post by:
HI All, I am encountering the following error when I try to send an email through a SMTP server. I believe the problem lies with the authentication part when the network crednetials are used,...
1
by: miladhatam | last post by:
i have a web project that sending a mail is a necessary work but i have an error this is my page using System; using System.Data; using System.Configuration; using System.Collections; using...
3
by: IGD | last post by:
I don't know if this is the right place to post this or not. If not, could someone direct me elsewhere where I would find more information on how to solve my problem? Thanks! My problem is this:...
6
by: phpmagesh | last post by:
Hi, I am using mail function in my php page, As soon i update the details, i have to send mail to the customer with the updated details, problem is when i send mail it simple through waring msg...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.