Difference between revisions of "Talk:LlEmail"

From Second Life Wiki
Jump to: navigation, search
(Suggestion)
(What if the target region is down?: new section)
Line 27: Line 27:
  
 
--[[User:Lucius Obviate|Lucius Obviate]] 05:35, 20 May 2007 (PDT)
 
--[[User:Lucius Obviate|Lucius Obviate]] 05:35, 20 May 2007 (PDT)
 +
 +
== What if the target region is down? ==
 +
 +
This page should probably say what happens if the target region is down. 
 +
 +
If anyone knows, that is.  :)  [[User:Dale Innis|Dale Innis]] 18:41, 4 August 2010 (UTC)

Revision as of 11:41, 4 August 2010

I suggest removing the text at the end (starting with "Feature Design Document")

-- Catherine Pfeffer (2008-05-03)

It's note-worthy to add that the following line of code can be used in the email event to remove headers from the message.

message = llDeleteSubString(message, 0, llSubStringIndex(message, "\n\n") + 1);

Example:


default
{
 state_entry()
  {
   email(string time, string address, string subj, string message, integer num_left)
    {
     message = llDeleteSubString(message, 0, llSubStringIndex(message, "\n\n") + 1);
     llSay(0,message);
    }
  }
}


Originally added by Prio @ http://www.lslwiki.org/index.php/LlEmail

--Lucius Obviate 05:35, 20 May 2007 (PDT)

What if the target region is down?

This page should probably say what happens if the target region is down.

If anyone knows, that is.  :) Dale Innis 18:41, 4 August 2010 (UTC)