473,320 Members | 1,828 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 pop3 mail


Hello, I was wondering if anyone can help me out.

I am trying to send mail from a c# app thru my ISP pop3 mail server. I
figured it would be similar to using SMTP, but use my username and password
for authentication. I guess what I am trying to do is the same thing that
outlook express does where you can send mail thru an account that you set
up. I would like my c# app to have the ability to email me when I get an
error or when a exception gets generated. If anyone has any examples or can
point me in the correct direction I would appreciate it.

Thanks
Ken
Nov 15 '05 #1
5 6672
Pop3 is a mail retrieval protocol. You cannot send mail using this
protocol.

Instead you should try using your ISP's SMTP servers to send mail.

--
Jared Parsons [MSFT]
ja******@online.microsoft.com
This posting is provided "AS IS" with no warranties, and confers no rights.
OR if you wish to include a script sample in your post please add "Use of
included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm"

"Ken Nistler" <KN******@vp.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...

Hello, I was wondering if anyone can help me out.

I am trying to send mail from a c# app thru my ISP pop3 mail server. I
figured it would be similar to using SMTP, but use my username and password for authentication. I guess what I am trying to do is the same thing that
outlook express does where you can send mail thru an account that you set
up. I would like my c# app to have the ability to email me when I get an
error or when a exception gets generated. If anyone has any examples or can point me in the correct direction I would appreciate it.

Thanks
Ken

Nov 15 '05 #2
Thank you for your response, I did not know that the pop3 mail was only for
retrieval. I was getting an exception trying to use the
"System.Web.Mail.SmtpMail" class. The inner exception was stating that I
did not have permissions to relay the message, so I thought that I had to
pass authentication criteria to the mail server. I think its cause I am
currently not connected thru the ISP that I am trying to send the mail thru.
I will try the Smpt again later when I am connected thru my ISP.

Thanks again
Ken

"Jared Parsons [MSFT]" <ja******@online.microsoft.com> wrote in message
news:uI**************@TK2MSFTNGP10.phx.gbl...
Pop3 is a mail retrieval protocol. You cannot send mail using this
protocol.

Instead you should try using your ISP's SMTP servers to send mail.

--
Jared Parsons [MSFT]
ja******@online.microsoft.com
This posting is provided "AS IS" with no warranties, and confers no rights. OR if you wish to include a script sample in your post please add "Use of
included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm"

"Ken Nistler" <KN******@vp.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...

Hello, I was wondering if anyone can help me out.

I am trying to send mail from a c# app thru my ISP pop3 mail server. I
figured it would be similar to using SMTP, but use my username and

password
for authentication. I guess what I am trying to do is the same thing that outlook express does where you can send mail thru an account that you set up. I would like my c# app to have the ability to email me when I get an error or when a exception gets generated. If anyone has any examples or

can
point me in the correct direction I would appreciate it.

Thanks
Ken


Nov 15 '05 #3

Hi Ken,

We will wait for your feedback, if it still does not work, please feel free
to post, we will help you.

Also, if the problem existed, please provide the sample code to reproduce
the problem, and the exception expression.

Thanks

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 15 '05 #4
Hi, I fixed up my code last night and used the SMTP class and it worked just
fine. I guess since the other computer that I was trying to execute the
code was not connected thru the ISP it would not allow me to relay the mail
message. Sorry to have taken up your time, and thanks for your help.

Thanks
Ken
Nov 15 '05 #5

Hi Ken,

Thanks for your feedback.

I am glad it finally works, if you have any further question, please feel
free to post in this group, we will help you.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Nov 15 '05 #6

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

Similar topics

2
by: Matt Porter | last post by:
I'm writing a c# web app and I can't find a POP3 mail component. I found the SMTP component, but not a POP3 one. Seems like there should be one. What is the name of the POP3 component? or do I...
1
by: Barney Nicholls | last post by:
Is it possible to retrieve the headers only from a pop3 mail server. I can currently retrive the message id and size but would like more information ideally the following: Subject From To
8
by: Kevin F | last post by:
Having some troubles downloading messages with POP3... I can connect to the server just fine and list messages without any problem with the following code: ------------------------ from...
1
by: bobano | last post by:
Hi everyone, I am writing a POP3 Client program in Perl. You connect to a POP3 Server and have a running conversation with the mail server using commands from the RFC 1939 Post Office Protocol....
2
by: su haiqing | last post by:
Hi All, Is there a Windows API function used to create a pop3 mail account for Win server 2003. I just know an ADSI method to implement this. Thanks, Su
0
by: misra | last post by:
Hi, I am using a C# code to call blat and send mail. When I send mails with long sentences, the mail automatically is send with multiple lines. However, certain times the body and format of the...
2
by: =?Utf-8?B?YmFyYnlxMTA=?= | last post by:
After sending mail, it leaves the outbox as normal and clears and hits the sent folder, but then I get a popup box that states EMAIL PROBLEM One or more e-mail messages cannot be sent. ...
2
by: ornto | last post by:
Hi, I'm trying to create an application which checks a dynamic web site and on certain events sends an email to me. My problem though is with the email task. By now I made this simple test code: ...
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
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
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: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.