On Thu, 5 Dec 2002 21:57:19 +0100 (Romance Standard Time) Vadim Zeitlin <[EMAIL PROTECTED]> wrote:
> [please don't cross post to both lists, I think m-dev is just fine for > this thread, thanks] ok, no problem. > On Thu, 5 Dec 2002 21:49:30 +0100 (Westeurop�ische Normalzeit) Florian > Schulze <[EMAIL PROTECTED]> wrote: > > FS> In SendMessageCC::Build the c_str() method is not called on the > returned > FS> String which causes thecpystr() function to fail. > > Hmm, no, this is impossible -- c_str() *is* called (implicitly, wxString > has implicit conversion to const char *), otherwise how would it compile? > And what do you mean by cpystr() failing? I read in the wxWindows documentation that this is exactly not the case. cpystr returned an empty string before I added c_str(). > FS> m_DefaultHost isn't initialized correctly when Mahogany is just > started. > FS> This prevents the Message-ID from being generated at all. > > I think I changed this after your bug report... Indeed, if we couldn't > find out our FQDN we don't generate Message-ID. This may be not 100% > standards conforming but it is surely not catastrophic as before .64 > release Mahogany never generated Message-IDs at all and it worked just > fine > for me (the first MTA seeing the message inserts a Message-ID into it if > it > doesn't have one already). If I set the default host in the global or the mailbox local preferences, then m_DefaultHost contains the string I wrote, if I then restart Mahogany, the string is empty but in the preferences dialog it's still shown. Because the string is empty the test for the "." fails and if I comment out that line, the Message-ID gets generated but with nothing behind the @. > I really don't know what else can we do if the machine doesn't have any > FQDN. In this case it is almost surely better to let the MTA do it as it > has more information than we do. This doesn't seem to work. I use gmx.net as my mail provider and when I send a message to myself, the message id is generated, this also works for the sourceforge.net mailinglists, but for the python mailinglist this fails. In my local Mahogany version I just removed the if and call BuildMessageId explicitely with the hostname as a normal C string in "". I can live with that now, as I hacked it to work for me, I just wanted to share my insights. I don't know wxWindows very well, I just looked into the documentation. I also don't program much in C or C++ anymore, so I won't dive any deeper into the code, I have to spend my time elsewhere. I'm still willing to help to fix this though, as I seem to be one of the few people (only one?) with this problem. Regards, Florian ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Mahogany-Developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mahogany-developers
