Till Stirling
Crazy Inventor
Join date: 31 Jul 2004
Posts: 124
|
03-05-2005 01:08
Lately I have started to work with objects that send mails to each other. Eventough in the Wiki it says that mails can be somewhat around 380 characters, it seems that they are capped at something around 260 characters. Any way to get around that limit apart from setting up an external bouncer?
Till Stirling
|
Jeffrey Gomez
Cubed™
Join date: 11 Jun 2004
Posts: 3,522
|
03-05-2005 12:20
From the email function on the Wiki: http://secondlife.com/badgeo/wakka.php?wakka=emailFrom: someone Triggered when a request by llGetNextEmail is answered. Returned are the email's time, sender's address, subject in subj, the message itself and how many more emails are queued for this object in num_left.
time is in UNIX timestamp format.
address and subj are limited to 78 characters each. message is limited to 1023 characters. I believe this account, since I've toyed with email a few times and the cap is well more than 260 characters. Most likely what's happening is you're parsing your data through an llSay or the like, which is limited at 255. I made this mistake (and corrected it) in a simple chat ping script with email, and when I pulled out the timestamp it worked fine. (you can do this with while(llSubStringIndex(message,"\n"  != -1) llDeleteSubString(message,0,llSubStringIndex(message,"\n"  + 1); ) If you continue to have problems, though, I'll send you an example of my (now deprecated) script to toy with.
_____________________
---
|