On Thu, 5 Dec 2002 22:33:31 +0100 (Romance Standard Time) Vadim Zeitlin 
<[EMAIL PROTECTED]> wrote:

> 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.

I just read the overview to wxString and there it's advised to use c_str. I
didn't look at the code. I use wxWindows 2.3.4 if that helps.

> 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...

I'm not exactly sure about this anymore. I will later try that out. Maybe
it was some other change while I was trying some things out.

> 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?

Both are set correctly. But it's Mahogany-Team, not M-Team and I can change
those values when I set them in the preferences dialog in Mahogany.

> 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?

That's the weird thing. In the case where it doesn't work, I have no
Message-ID in the mail in the sentmail folder, but a gmx one is added when
sending to sf.net and a failure with no message-id is sent back when I
write to the python list.

Regrads,
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

Reply via email to