NewbieWithSQL
Programmer
I don't know if I'm in the right forum.
I'm creating dynamic HTML emails with SQL and sending it through SQL Database mail. I'm using select statement to create the HTML code and the results of the record pull from whatever table I'm querying...
When I send the email, via msdb.dbo.sp_send_dbmail to a SMTP relay on my IIS server. I get the email, however, the 1,024th character is dropped and then drops every 1,024 thereafter.
Has anyone come across this issue and have a solution.
Using the following test code, if needed
declare @Test varchar(2000)
set @Test = replicate('0123456789', 103)
if you were to send the variable @Test as the body of the email, you will see that the number 2 of the last set of numbers is dropped and picks up at the number 3 on a new line...
Thanks in advance
I'm creating dynamic HTML emails with SQL and sending it through SQL Database mail. I'm using select statement to create the HTML code and the results of the record pull from whatever table I'm querying...
When I send the email, via msdb.dbo.sp_send_dbmail to a SMTP relay on my IIS server. I get the email, however, the 1,024th character is dropped and then drops every 1,024 thereafter.
Has anyone come across this issue and have a solution.
Using the following test code, if needed
declare @Test varchar(2000)
set @Test = replicate('0123456789', 103)
if you were to send the variable @Test as the body of the email, you will see that the number 2 of the last set of numbers is dropped and picks up at the number 3 on a new line...
Thanks in advance