adamh
  • adamh
  • 52.25% (Neutral)
  • Newbie Topic Starter
9 years ago
The client application (non-async) hangs on the SendMail() function.

Looking at the logs on the receiving server, we found that the messages were submitted and accepted, but the receiving server never sends back a QUIT so my application freezes indefinitely. It seems as though some servers will deliver the messages and others will not.

I am not getting an error or logging back from the control. I am trying to get logs from the receiving servers. Does anyone know what can cause this behavior?

ivan
  • ivan
  • 100% (Exalted)
  • Administration
9 years ago
Could you generate a log file with LogFileName property and send it to support@emailarchitect.net?
adamh
  • adamh
  • 52.25% (Neutral)
  • Newbie Topic Starter
9 years ago

Could you generate a log file with LogFileName property and send it to support@emailarchitect.net?

Originally Posted by: ivan 



No because it hangs on SendMail() and no log gets generated.

I will send a log from the receiving server....

adamh
  • adamh
  • 52.25% (Neutral)
  • Newbie Topic Starter
9 years ago
This was fixed by changing the .TransferEncoding from the default to 4 for base64.

Special thanks to Ivan for helping figure this out.
Fabio
  • Fabio
  • 51.5% (Neutral)
  • Newbie
9 years ago
Hello,
i am having the same problem with compact framework. My device is working with windows CE and hang on SendMail function call. Program is in C# language and it completely freeze the device so i have no idea what happen...i place some log traps and i can only see that the problem is on SendMail call.

Based on precedent message i use:
TransferEncoding = TransferEncodingType.EncodingQuotedPrintable;
ivan
  • ivan
  • 100% (Exalted)
  • Administration
9 years ago

Hello,
i am having the same problem with compact framework. My device is working with windows CE and hang on SendMail function call. Program is in C# language and it completely freeze the device so i have no idea what happen...i place some log traps and i can only see that the problem is on SendMail call.

Based on precedent message i use:
TransferEncoding = TransferEncodingType.EncodingQuotedPrintable;

Originally Posted by: Fabio 



could you generate a log file with LogFileName property and send it to support@emailarchitect.net?
Fabio
  • Fabio
  • 51.5% (Neutral)
  • Newbie
9 years ago
No...device (not only application) hangs but this aspect make me suspicious as device should not hang. This is probably because i have a limited amount of memory (64Mb) and the SendMail call saturated the already limited memory (mail size with one attachment was around 500Kb). The solution i am trying now is to reduce the attachment size and then send mail..it seems to work but i still have to going on deeper tests..

Thank you
Fabio

EXPLORE TUTORIALS

© All Rights Reserved, AIFEI Software Limited & AdminSystem Software Limited.