Sendmail function restricted?

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
3 posts • Page 1 of 1
adaneau
Posts:310
Joined: Tue Feb 21, 2012 9:49 am

Sendmail function restricted?

Post by adaneau »

Hi,

I'm facing rather weird issue with sendMail function. I am trying to send a relatively huge body content (around 140k characters, this is html formatted mail).

When debugging my string, everything is here, when debugging the dyn_string to be used in sendMail, everything is here, but when it comes in mailbox, it is truncated.

And of course SMTP server doesnt throw any error. So my question is, does the function sendMail limits the size of the dyn_string to be used as parameter?

Thanks

BR
Alexandre

gschijndel
Posts:376
Joined: Tue Jan 15, 2019 3:12 pm

Re: Sendmail function restricted?

Post by gschijndel »

The 'sendMail' function writes the mail content into a file, which is passed to the external open source tool 'sendEmail'. You could check if the complete content is written to the file.

Apparently the perl compiler (under windows) could be a limiting factor according to the sendEmail FAQ:
Q: I'm using the Windows version of sendEmail and I can't seem to send a message larger than 16kb.
A: This is a known issue. I believe it's an issue with the ActiveState Perl compiler, and I don't know of a work-around.

adaneau
Posts:310
Joined: Tue Feb 21, 2012 9:49 am

Re: Sendmail function restricted?

Post by adaneau »

Hi Gertjan,

Thanks for answer. File is written properly, forgot to mention it before. I think you are right, Perl is probably limiting the size of mails. I could go around by using Swithmail but it is a bit more annoying that I have to take care of my own mail binaries and to overwrite the sendmail function... Any plan in the future to get something different than this old SendEmail.exe which is not maintained since 2009?

BR
Alexandre

3 posts • Page 1 of 1