Re: strange problem with smtpmail

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Michel Posseth [MCP] wrote:
Note that remote server is a BLS server ( not a web server ) but a
windows service wich starts dll`s through reflection

If i copy a test project ( exe ) to this server and run in the same
user context as the service is running , everything works as
expected , but if the service invokes the method (through
interfacing and reflection ) the e-mails are send but arrive as HTML
source instead of formatted HTML

So the problem must be in the combination Reflection and SMTP class

( for the time beeing i send my mails from this service now as plain
text , wich works fine )

but i wonder why it wil not work with HTML formatting

Can you grab a copy of the email from the maildrop folder before it gets
sent? Maybe comparing that file with one grabbed from a working system will
explain it.

Andrew


.



Relevant Pages

  • Re: strange problem with smtpmail
    ... If i copy a test project to this server and run in the same ... interfacing and reflection) the e-mails are send but arrive as HTML ... but i wonder why it wil not work with HTML formatting ...
    (microsoft.public.dotnet.languages.vb)
  • Re: strange problem with smtpmail
    ... but if the service invokes the method  (through ... interfacing and reflection) the e-mails are send but arrive as HTML ... HTML formatted mail from anny computer even on that specific server the only ...
    (microsoft.public.dotnet.languages.vb)
  • Performance overhead
    ... Is there a performace overhead associated if we include our images, ... Reflection and other methods w.r.t if we simply include them in a separate ... I wanted to know this because I'm using a lot of gifs, and other Html files, ... Now I load them from the assembly using ...
    (microsoft.public.dotnet.framework.compactframework)