N
nadia
Hi,
I send an email from an asp.net application using the SmtpMail object.
I create and HTML string and send the email in HTML MailFormat.
I see the string in debug mode before the email is sent, and the
string is correct.
But when I receive the email and click on "view source" I see an extra
whitespace + linebreak characters that was added to the html, always
at position #990. In some cases it is added in a place where it
doesn't make a difference and the email looks fine, and in some cases
it 'ruins' the HTML and the email isn't correct. For example if the
whitespace is added into a tag, and "<td>" becomes "<t d>"...
I tried programatically adding whitespaces and linebreak characters to
the HTML string, not inside HTML tags, to try and prevent this, but
nothing helps..
Any suggestions would be greatly appreciated.
I send an email from an asp.net application using the SmtpMail object.
I create and HTML string and send the email in HTML MailFormat.
I see the string in debug mode before the email is sent, and the
string is correct.
But when I receive the email and click on "view source" I see an extra
whitespace + linebreak characters that was added to the html, always
at position #990. In some cases it is added in a place where it
doesn't make a difference and the email looks fine, and in some cases
it 'ruins' the HTML and the email isn't correct. For example if the
whitespace is added into a tag, and "<td>" becomes "<t d>"...
I tried programatically adding whitespaces and linebreak characters to
the HTML string, not inside HTML tags, to try and prevent this, but
nothing helps..
Any suggestions would be greatly appreciated.