Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Thread Tools Display Modes
Old 04-20-2007, 11:23 AM
jotajotagon jotajotagon is offline
Junior Member
Join Date: Apr 2007
Posts: 2
Default Help with Indy sending HTML mails

Hello. I'm using Indy IdSMTP function with Borland Delphi 7 to implement a simple e-mail notification system. Mails are in HTML format.

The problem I have is this: when the body of the e-mail is about 120Kb or bigger, the email is truncated, and the function exits with a "failed" (however, e-mails DO go out).
If I reduce the size of the body below 120K, emails are sent normally, no truncation, and function exits with a OK status.

Is there a limit on the amount of HTML text that can be in the body of an HTML email?

I have checked, and the SMTP server does not limit the size of e-mails (mails sent via Outlook are OK with a body of 2Mb!!)

Any help?
Any notice that Indy might have a bug ?

Thank you !
Reply With Quote
Old 04-21-2007, 10:49 PM
digitiger digitiger is offline
Senior Member
Join Date: Jan 2001
Posts: 716
Default RE: Help with Indy sending HTML mails

have you tried increasing the value for property "MaxLineLength" for the TIdSMTP component?

hope it helps and if it does then do accept the answere
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

All times are GMT. The time now is 09:56 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.