Re: [Imap-uw] c-client and smtp

2009-02-20 Thread Mark Crispin
Is that the only linkage error that you are getting? If so, then you must be linking with an old version of c-client.a. mail_versioncheck() is definitely defined in mail.c. On Fri, 20 Feb 2009, Marian Sorin Nasoi wrote: I get a linkage error: undefined reference to `mail_versioncheck' On Fri

Re: [Imap-uw] c-client and smtp

2009-02-20 Thread Marian Sorin Nasoi
I get a linkage error: undefined reference to `mail_versioncheck' On Fri, Feb 20, 2009 at 10:27 PM, Mark Crispin wrote: > mail_versioncheck() is in the c-client.a library (it's in mail.c) so you > should not be getting an undefined by referencing it. What is the EXACT > text of the error message

Re: [Imap-uw] c-client and smtp

2009-02-20 Thread Mark Crispin
mail_versioncheck() is in the c-client.a library (it's in mail.c) so you should not be getting an undefined by referencing it. What is the EXACT text of the error message? On Fri, 20 Feb 2009, Marian Sorin Nasoi wrote: I am linking against c-client.a that is with the c-client sources, no RPM

Re: [Imap-uw] c-client and smtp

2009-02-20 Thread Marian Sorin Nasoi
I am linking against c-client.a that is with the c-client sources, no RPM or other package from a third party because the application has to compile on Windows, Linux and also Mac OS. On Fri, Feb 20, 2009 at 10:21 PM, Mark Crispin wrote: > On Fri, 20 Feb 2009, Marian Sorin Nasoi wrote: >> >> I h

Re: [Imap-uw] c-client and smtp

2009-02-20 Thread Mark Crispin
On Fri, 20 Feb 2009, Marian Sorin Nasoi wrote: I have only included "c-client.h" because I thought that was enough... It isn't. You must do all the linkage I have added the #include "linkage.c" at the start of your application's main() function and I have to solve an error I get: "undefine

Re: [Imap-uw] c-client and smtp

2009-02-20 Thread Marian Sorin Nasoi
I have only included "c-client.h" because I thought that was enough... Now I have added #include "linkage.c" at the start of your application's main() function I have added the #include "linkage.c" at the start of your application's main() function and I have to solve an error I get: "undefined

Re: [Imap-uw] c-client and smtp

2009-02-20 Thread Mark Crispin
I don't think that the Alpine code is going to help you. The problem is either environmental or is caused by something wrong that you are doing. Do you have the required #include "linkage.c" at the start of your application's main() function? Forgetting to do that is a common mistake.

Re: [Imap-uw] c-client and smtp

2009-02-20 Thread Marian Sorin Nasoi
I have built the library with ssl support (make slx IP6=4) that should set the SSLTYPE=nopwd' according to the build docs. wrt. the DNS suggestion the log shows the resolved IP ( [Trying IP address [72.14.221.111]] ) so everything fine as far as the name resolving goes. Just in case I tried to set

Re: [Imap-uw] c-client and smtp

2009-02-20 Thread Mark Crispin
On Fri, 20 Feb 2009, Marian Sorin Nasoi wrote: Also everything works from Alpine (that uses UW IMAP) with the same settings so it can not be caused by filtering, right? Some of the anti-virus programs check for the name of the application and allow it through if it is one of the permitted name

Re: [Imap-uw] c-client and smtp

2009-02-20 Thread Mark Crispin
You will also get that error message if you built the c-client library without SSL/TLS support. I didn't mention that possibility because I thought that it would be obvious. On Fri, 20 Feb 2009, Marian Sorin Nasoi wrote: Thanks for the quick response, It is not a windows machine, it's Linux

Re: [Imap-uw] c-client and smtp

2009-02-20 Thread Marian Sorin Nasoi
Also everything works from Alpine (that uses UW IMAP) with the same settings so it can not be caused by filtering, right? On Fri, Feb 20, 2009 at 9:24 PM, Marian Sorin Nasoi wrote: > Thanks for the quick response, > > It is not a windows machine, it's Linux (no anti-virus or any other > filtering

Re: [Imap-uw] c-client and smtp

2009-02-20 Thread Marian Sorin Nasoi
Thanks for the quick response, It is not a windows machine, it's Linux (no anti-virus or any other filtering in place). Any other suggestion? Thanks, Sorin On Fri, Feb 20, 2009 at 9:14 PM, Mark Crispin wrote: > On Fri, 20 Feb 2009, Marian Sorin Nasoi wrote: >> >> I get an error stating that:

Re: [Imap-uw] c-client and smtp

2009-02-20 Thread Mark Crispin
On Fri, 20 Feb 2009, Marian Sorin Nasoi wrote: I get an error stating that: "TLS unavailable with this server:smtp.gmail.com" Is this a Windows machine? If so, the problem is almost certainly due to anti-virus software on your system that sets itself up as a man-in-the-middle for "outgoing ma

[Imap-uw] c-client and smtp

2009-02-20 Thread Marian Sorin Nasoi
Hi, I am using c-client support in an application in order to create a simple SMTP client. I am testing the client with the following data: - SMTP server: smtp.gmail.com with TLS, port 587 I have done the following: - added "smtp.gmail.com:587/tls/user=gmail_username" in the SMTP hostlist - chang

Re: [Imap-uw] c-client and smtp

2005-05-18 Thread Mark Crispin
On Wed, 18 May 2005, Mike Schmidt wrote: Do you have any suggestions as to open source code that generates the message-Id? Or specific well-known algorithms? I suppose this is a roll-your-own situation. It is a roll-your-own. As long as the result complies with the syntax for Message-ID and wil

Re: [Imap-uw] c-client and smtp

2005-05-18 Thread Mike Schmidt
Hi, Mark Thanks for the information. I have examined the functions you mentioned, and it makes much more sense to me now in light of your answer. The reality is that I already have the email I wish to send completely formatted as an RFC822 message by the time I am ready to send it. It is curren

Re: [Imap-uw] c-client and smtp

2005-05-17 Thread Mark Crispin
On Tue, 17 May 2005, Mike Schmidt wrote: Does anyone know how I can set X-headers when using c-client's smtp functions? The default rfc822_output() routine, called by the SMTP routines does not offer any means to write X-headers. There is a kludge by which you can do it, but it would be wrong

[Imap-uw] c-client and smtp

2005-05-17 Thread Mike Schmidt
Hi, Does anyone know how I can set X-headers when using c-client's smtp functions? I've looked through the code, but can't seem to quite figure it out. Where are the X-headers, anyway? in the Envelope, Body? I am starting to implement smtp via c-client, but I nned to set some private headers