11-03-2014 02:01 PM
Hi
I am using CVI 2012 and I want to open a POP3 connection to send and receive emails
I tried InetPop3Open but I always get an error message back (error value --29).
Does anyone have experience with this cmd? Could it be possible that the SSL encryption caused this problem?
Is there any alternative?
thanks in advance
Oliver
11-04-2014 04:18 AM
Hello,
you could try to use an other email provider (not: web.de / gmx.de / freenet.de / t-online.de)
and implement open source "SMTP" C library in CVI.
Maybe this will fix your problem.
Kind regards.
11-04-2014 09:45 AM - edited 11-04-2014 09:57 AM
I use InetSendMail() and it works fine for me with an internal SMTP server. But you can only send mail.
If you connect direct to the POP3 server using ConnectToTCPServer () you must implement POP3 by your self but you get all error information you need.
Some POP3 servers might deliver incomplete error information for security reasons.
Unfortunately I did not implement POP3.
Btw: you can try a telnet client like putty to connect to your POP3 server and enter POP3 commands to see if and how to connect to your server. But you need to read a POP3 spec first.
Regards
Andrej
11-04-2014 01:07 PM
Hello Denis
can you recommend some open source "SMTP" C library ?
best regards
Oliver
11-04-2014 01:09 PM
Hello AutomationGuy
thanks for this reply. Unfortunately i do not have the experience with POP3 programming. I just want to receive an email and send an email. And I thougt, that the InetPop3Open could do this
best regards
Oliver
11-05-2014 08:10 AM
Hello,
i cannot recommend a certain smtp library, but there are a few libraries. You could just google for open source smtp library and try some.
Kind regards.
11-05-2014 08:59 AM
Hello Dennis,
great, thanks I will try that and will report the result
greetings
Oliver