我使用popclient接收来自我的Gmail的消息,它可以在我的电脑上运行但是在VPS上没有,我不知道发生了什么。我使用了gmail的特定密码,我试图改变端口。
输出:
<< +OK Gpop ready for requests from 'IP1' f15mb392228917lds
>> USER 'GMAIL ADRESS'
<< +OK send PASS
>> PASS ********
<< +OK Welcome.
>> STAT
<< +OK 14 3002232
Event Fired: QueryPopInfoCompleted
Count: 14, Total Size: 3002232 bytes
>> LIST 1
<< +OK 1 1853
>> UIDL 1
<< +OK 1 GmailId15081a8efb4c1eba
>> RETR 1
<< +OK message follows
Delivered-To: 'GMAIL ADRESS'
Received: by 'IP2' with SMTP id g1csp520741wjl;
Mon, 19 Oct 2015 12:52:23 -0700 (PDT)
X-Received: by 'IP3'
Event Fired: MailPopCompleted
MailPopCompletedEventArgs.Aborted : True
Exception has been thrown by the target of an invocation.
答案 0 :(得分:0)
System.DllNotFoundException: ole32.dll
at (wrapper managed-to-native) System.__ComObject:CoCreateInstance (System.Guid,intptr,uint,System.Guid,intptr&)
at System.__ComObject.Initialize (System.Type t) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.__ComObject:Initialize (System.Type)
at Mono.Interop.ComInteropProxy.CreateProxy (System.Type t) [0x00000] in <filename unknown>:0
at System.Runtime.Remoting.RemotingServices.CreateClientProxyForComInterop (System.Type type) [0x00000] in <filename unknown>:0
at System.Runtime.Remoting.Activation.ActivationServices.CreateProxyForType (System.Type type) [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)
at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0