I'm trying to generate an email from within Revolution and it works as long as my message is short (magic number seems to be 1392 characters). This is running Windows XP (Service Pack 3) and MS Outlook (12.0.6504.500). For a short message, Outlook opens as it should. For a longer message, it appears that nothing happens. Same results for Revolution Enterprise 3.5 and 4.0.
Code like revmail "abc@def.com", , "Test Subject", (char 1 to 1400 of field "theText") works properly on my Macintosh system.
I'm wondering if this is a bug in Revolution or somehow a limitation of Windows.
Limit to email length in Windows?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Very odd.worked fine. Setting the repeat to put a 1935th char made it fail (silently).
I wondered if it had anything to do with the line length, where there was no return char included so I tried withwith various random cr in the message, the above failed until I reduced the message length to 1633 chars. 1634 made it fail silently. I don't know what this means or whether there's any workaround for it.
Now the weirdest part of all: with the above in the forum reply box, I went back to check a couple of numbers and the thing failed. I tried again with a lower count than before and got a new threshold - then I copy pasted this message and closed the reply box without posting, and the values went back to those shown above.
Code: Select all
on mouseUp
put "ABCDEFGHIJKLMNOPQRSTUVWXYZ" into theString
repeat with x = 1 to 1934
put any char of theString after theMessage
end repeat
revmail "myaddress@mydomain.com",,"Test",theMessage
end mouseUp
I wondered if it had anything to do with the line length, where there was no return char included so I tried with
Code: Select all
on mouseUp
put "ABCDEFGHIJKLMNOPQRSTUVWXYZ" & cr into theString
repeat with x = 1 to 1633
put any char of theString after theMessage
end repeat
revmail "myaddress@mydomain.com",,"Test",theMessage
end mouseUp
Now the weirdest part of all: with the above in the forum reply box, I went back to check a couple of numbers and the thing failed. I tried again with a lower count than before and got a new threshold - then I copy pasted this message and closed the reply box without posting, and the values went back to those shown above.