On Thu, 5 Dec 2002 22:18:31 +0100 (Westeurop�ische Normalzeit) Florian Schulze <[EMAIL PROTECTED]> wrote:
FS> > FS> In SendMessageCC::Build the c_str() method is not called on the FS> > returned FS> > FS> String which causes thecpystr() function to fail. FS> > FS> > Hmm, no, this is impossible -- c_str() *is* called (implicitly, wxString FS> > has implicit conversion to const char *), otherwise how would it compile? FS> > And what do you mean by cpystr() failing? FS> FS> I read in the wxWindows documentation that this is exactly not the case. Sorry, I *wrote* wxString, and I can guarantee that it does have an implicit conversion to c_str(). If you don't believe me, look at wx/string.h. FS> cpystr returned an empty string before I added c_str(). You'd need to explain to me how is this possible if you want me to believe it... FS> If I set the default host in the global or the mailbox local preferences, FS> then m_DefaultHost contains the string I wrote, if I then restart Mahogany, FS> the string is empty but in the preferences dialog it's still shown. Because FS> the string is empty the test for the "." fails and if I comment out that FS> line, the Message-ID gets generated but with nothing behind the @. Interesting... Could you please check the value of HKCU\M-Team\M\Profiles\HostName key? Is it correct? What about the same key under the_name_of_your_local_mailbox profile? FS> > I really don't know what else can we do if the machine doesn't have any FS> > FQDN. In this case it is almost surely better to let the MTA do it as it FS> > has more information than we do. FS> FS> This doesn't seem to work. I use gmx.net as my mail provider and when I FS> send a message to myself, the message id is generated, this also works for FS> the sourceforge.net mailinglists, but for the python mailinglist this FS> fails. Do you use the same SMTP server for them? This is the only idea I have, unfortunately -- I don't know why would an MTA add Message-Id for some messages but not the others. This is quite strange... Can you have a look at the mesesage before sending it (use Preview in the composer menu) -- do you see any differences in the 2 cases? Thanks, VZ ------------------------------------------------------- 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
