Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

vbSendmail issue with the RFC 821 1000 character limitation of a line 1

Status
Not open for further replies.

yamyam

MIS
Jul 3, 2002
19
GB
Hi,

Does anyone know how to get around the 1000 character line limit using vbSendMail? When I send a line of a 1000 characters asHTML the email message has a ! in the message?

Thanks
 
Sure.
The code is freely available. So just download from [URL unfurl="true"]http://www.freevbcode.com/ShowCode.asp?ID=109[/url]

Then access the code in sendmail.cls, and modify the const MAX_TEXTLINE_LEN. Or modify the code that applies that const (which is in the FormatMail function).
Recompile as a new DLL ...

Of course you'll then be breaking RFC 821, but what the heck ...
 
Thanks, I have the code I previous changed the mx query side to add in new TLD's. I was going to make the change described but was worried about the RFC 821.

Thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top