pop3

How to save email attachments in C# [closed]

时光怂恿深爱的人放手 提交于 2019-12-23 07:59:39
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 7 years ago . How can I, using C#, Download an email attachment from my mail (for instance gmail)? 回答1: // Firstly you might want to use POP3Class which is mail support class. POP3Class Pop3= new POP3Class(); pop3.DoConnect(

大型邮箱smtp服务器及端口 收集

血红的双手。 提交于 2019-12-22 19:36:54
各大型邮箱smtp服务器及端口收集: 新浪邮箱smtp服务器 外发服务器:smtp.vip.sina.com 收件服务器:pop3.vip.sina.com 新浪免费邮件 外发服务器:smtp.sina.com.cn 收件服务器:pop3.sina.com.cn 163邮箱smtp服务器 pop: pop.163.com smtp: smtp.163.com QQ邮箱smtp服务器及端口 接收邮件服务器:imap.qq.com,使用SSL,端口号993 发送邮件服务器:smtp.qq.com,使用SSL,端口号465或587 yahoo邮箱smtp服务器 接:pop.mail.yahoo.com.cn 发:smtp.mail.yahoo.com 126邮箱smtp服务器 pop: pop.126.com smtp: smtp.126.com 新浪免费邮箱 POP3:pop.sina.com SMTP:smtp.sina.com SMTP端口号:25 新浪VIP邮箱 POP3:pop3.vip.sina.com SMTP:smtp.vip.sina.com SMTP端口号:25 新浪企业邮箱 POP3:pop.sina.com SMTP:smtp.sina.com SMTP端口号:25 雅虎邮箱 POP3:pop.mail.yahoo.cn SMTP:smtp.mail.yahoo

Setting a time-out limit to readLine()?

巧了我就是萌 提交于 2019-12-22 05:17:48
问题 I have the following code that reads response from a POP server through Sockets in Java. But the problem is sometimes, when I use the readLine() function to read from the server and if the server does not reply with any response, my application will hang there, waiting for a response from the server. socket.connect(new InetSocketAddress("pop.server.com", 110), 3000); input = socket.getInputStream(); BufferedReader incoming = new BufferedReader(new InputStreamReader(input)); incoming.readLine(

How to retrieve just unread emails using pop3?

我只是一个虾纸丫 提交于 2019-12-21 13:41:11
问题 I'm using open source component to retrieve emails from my mail server using vb.net (pop3) but because i have a lot of messages it gives me response Time out and i think if i just got the new messages it will make reading faster. this is my code: Dim popp As New Pop3Client("user@mail.com", "*******", "pop3.mail.com") popp.AuthenticateMode = Pop3AuthenticateMode.Pop popp.Port = 110 'popp.Ssl = True popp.Authenticate() Dim msglist As New List(Of String) If popp.State = Pop3ConnectionState

Faster reading of inbox in Java

喜欢而已 提交于 2019-12-21 13:20:22
问题 I'd like to get a list of everyone who's ever been included on any message in my inbox. Right now I can use the javax mail API to connect via IMAP and download the messages: Folder folder = imapSslStore.getFolder("[Gmail]/All Mail"); folder.open(Folder.READ_ONLY); Message[] messages = folder.getMessages(); for(int i = 0; i < messages.length; i++) { // This causes the message to be lazily loaded and is slow String[] from = messages[i].getFrom(); } The line messages[i].getFrom() is slower than

How can re enable pop in Gmail from C# code?

情到浓时终转凉″ 提交于 2019-12-20 06:38:22
问题 I have a program that downloads mails from my Gmail, i have selected the radio button : Enable POP for all mail (even mail that's already been downloaded) After i download my mail my Gmail changes the status above to: POP is enabled for all mail that has arrived since current Date I did not physical change the radio buttons but it seams like it auto sets it to download only new mail. I need my windows to down load all my all the time. How can i set in my code that Gmails must enable all

JavaWeb之JavaMail

烂漫一生 提交于 2019-12-18 16:40:45
时间:2016-12-19 11:58 ——邮件协议 1、收发邮件 发邮件是从客户端把邮件发送到服务器,收邮件是把邮件服务器的邮件下载到客户端 2、邮件协议概述 与HTTP协议相同, 收发邮件也需要有传输协议。 * SMTP:(Simple Mail Transfer Protocol,简单邮件传输协议)发邮件协议。 * POP3:(Post Office Protocol Version3,邮局协议第3版)收邮件协议。 * IMAP:(Internet Message Access Protocol,因特网消息访问协议)收发邮件协议。 3、理解邮件收发过程 可以把邮件服务器理解为邮局,如果需要给朋友寄一封信,那么需要把信放到邮筒中,这样你的信会“自动”到达邮局,邮局会把信邮到另一个省市的邮局中,然后这封信会被送到收信人的邮箱中,最终需要收信人自己查看信件。 其实每个邮件服务器都由SMTP服务器和POP3服务器构成,其中SMTP服务器负责发邮件的请求,而POP3负责收邮件的请求。 有时会使用163的账号,向126的账号发送邮件,这时邮件是发送到126的邮件服务器,而对于163的邮件服务器来讲,是不会存储这封邮件的。 当目标账号不存在时,会退还邮件。 4、邮件服务器名称 SMTP服务器的端口号为25,服务器名称为:smtp.xxx.xxx POP3服务器的端口号为110,服务器名称为

Know if email was a reply using IMAP in PHP

蓝咒 提交于 2019-12-18 13:53:25
问题 I am not sure if it is in the headers or not, but I am looking for a way to tell if an email I receive is a response to an email I sent, and if so, to only grab the new text, not "quoted text" A little background: I am creating a script that will send out emails automatically. I am creating a cron job to run at periodic intervals to check to see if there were any replies. If there were replies, I only want to grab the new stuff, and not the old stuff. In the past, I would send out emails with

accessing my gmail inbox via php code

不羁岁月 提交于 2019-12-18 11:27:40
问题 how i can access my gmail account through my php code? I need to get the subject and the from address to from my gmail account.And then i need to mark the accessed as read on gmail Should i use gmail pop3 clint?is that any framework that i can use for accessing gmail pop3 server. 回答1: I would just use the PHP imap functions and do something like this: <?php $mailbox = imap_open("{imap.googlemail.com:993/ssl}INBOX", "USERNAME@googlemail.com", "PASSWORD"); $mail = imap_search($mailbox, "ALL");

Receiving email in Node.js

拈花ヽ惹草 提交于 2019-12-18 10:07:09
问题 I see a lot of Node.js modules out there that sends mail through SMTP. But is there a module to receive mail? 回答1: You are looking for an e-mail client library. Currently, there are 2 options (as mentioned here): node-imap (IMAP) n3 (POP3, experimental) I never used them before, but usage is pretty straight forward (according to the docs). node-imap seems to be the more stable library and it has been tested against gmail. If IMAP is an option in your environment, i'd stick with node-imap .