SMF Development > Fixed or Bogus Bugs

The smf newslletter function have sizes limitations?

(1/3) > >>

luuuciano:
Hi!

I was trying to send a newsletter, html, not Pivate Message... to member emails... using
index.php?action=admin;area=news;sa=mailingmembers

The html have something like 44kb... is that too much?

Because I sent it... and the html section (encoded as base64??) was broken... instead sending all the information it just sent something like 21kb...

When I realized it, went to phpmyadmin and deleted the contents of the mailing queue table (a few members received it anyway)...

Any idea? what to do? I can not send more than 20kb using the smf newsletter function?
I have to check something on the php configuration?

luuuciano:
I thought maybe it was related to the a limit on maximum characters in a post, but that is configured to be 30000...

Post max size, on php.ini file, is set to 8M... did not find other related lines on php.ini, neither httpd.conf and extras/*....

I have tried sending only to 1 member, the admin, and it happens the same... the newsletter is broken (not at the same exact point, but near there...)

luuuciano:
Ok... the body field on queue table... is a TEXT type...
TEXT types have always a limit of 65535??

Im reading the mysql documentation about text types, but do not fully understand it...

EDIT: then I read about mediumtext, and longtext...

It will be ok to just change that body field to medium text? do I need to change any code in smf files?

emanuele:
Is there any warning on the fact that the text is truncated?
If not (and I feel there isn't), I'd call it a bug...
Now that I think about it probably the PMs too have the same issue...

Moving this to bug reports to better keep track of it until someone can fix or properly track it.

luuuciano:
Noup, not warning at all...
Maybe you can call it a bug, yep... at least the text string should state that you can not use more than... 20/25kb maybe?
(when sending a html newsletter... as the email being sent has headers, plain text, plain text base64 encoded(?) and html base64 encoded)
And a bit more when sending PMs (nearly 64kb?)

BTW... emanuele, do you think it would be ok if I change that field to mediumtext using phpmyadmin? it will not break things? or do odd things?
(I have a newsletter to send, lol)

Navigation

[0] Message Index

[#] Next page

Go to full version