J
Jim
I have a web application from which I would like to send a simple
email message. By this I mean that I want the application to generate
an email, like an alert when a user comes and completes a form, not a
link that opens a window on the user's browser....
There are a couple of ways that one could go about this, and one seems
infinitely more preferable than the other. I would appreciate any
input on the subject, because I'm a little stuck on this one.
#1 - This would be the most preferable method - My application would
initiate communications with my SMTP server and send out the message.
I know the SMTP service has certain protocols, those EHLO messages,
etc. that are used to communicate with it. My application would need
to authenticate with the server, and then send the message to it, but
how would I go about doing this? Are there already C# classes in the
..NET framework for this? If not, where would I begin to put something
like this together? This is a small application, so I'm not really in
a position to go out and buy and license a big commercial component to
do this little task.
#2 - I understand that if you take a file and put it in the "drop"
folder under c:\inetpub\mailroot\ that SMTP will pick it up and send
it out. Is there a formatter available that will correctly format my
text into a message format the SMTP can send?
Thanks for any input on this.
JIM
email message. By this I mean that I want the application to generate
an email, like an alert when a user comes and completes a form, not a
link that opens a window on the user's browser....
There are a couple of ways that one could go about this, and one seems
infinitely more preferable than the other. I would appreciate any
input on the subject, because I'm a little stuck on this one.
#1 - This would be the most preferable method - My application would
initiate communications with my SMTP server and send out the message.
I know the SMTP service has certain protocols, those EHLO messages,
etc. that are used to communicate with it. My application would need
to authenticate with the server, and then send the message to it, but
how would I go about doing this? Are there already C# classes in the
..NET framework for this? If not, where would I begin to put something
like this together? This is a small application, so I'm not really in
a position to go out and buy and license a big commercial component to
do this little task.
#2 - I understand that if you take a file and put it in the "drop"
folder under c:\inetpub\mailroot\ that SMTP will pick it up and send
it out. Is there a formatter available that will correctly format my
text into a message format the SMTP can send?
Thanks for any input on this.
JIM