Difference between revisions of "LlGetNextEmail"

From Second Life Wiki
Jump to navigation Jump to search
Line 4: Line 4:
|func=llGetNextEmail|p1_type=string|p1_name=address|p2_type=string|p2_name=subject
|func=llGetNextEmail|p1_type=string|p1_name=address|p2_type=string|p2_name=subject
|func_footnote
|func_footnote
|func_desc=Get the next waiting {{LSLG|email}} with appropriate sender '''address''' and/or '''subject''' (if {{HoverText|blank|an empty string: {{String}}}} they are ignored)
|func_desc=Get the next waiting [[email]] with appropriate sender '''address''' and/or '''subject''' (if {{HoverText|blank|an empty string: {{String}}}} they are ignored)
|return_text
|return_text
|spec
|spec
|caveats=
|caveats=
* llGetNextEmail does not work (yet) in mono. I did several tests with emails in mono ans LSL2. llEmail canbe used in both mono and LSL2, but to recieve email, you need to script in LSL2. (tip : Recieve the email in a small LSL2 script and send the emailadres, subject and messageor whatever you need to a mono script if you want to use mono) (Jody Palmer)
* llGetNextEmail does not work (yet) in mono. I did several tests with emails in mono and LSL2. llEmail can be used in both mono and LSL2, but to receive email, you need to script in LSL2. (tip : Receive the email in a small LSL2 script and send the email-address, subject and message whatever you need to a mono script if you want to use mono) {{User|Jody Palmer}}
|constants
|constants
|examples=
|examples=

Revision as of 13:26, 15 October 2008

Summary

Function: llGetNextEmail( string address, string subject );

Get the next waiting email with appropriate sender address and/or subject (if blank they are ignored)

• string address
• string subject

Caveats

  • llGetNextEmail does not work (yet) in mono. I did several tests with emails in mono and LSL2. llEmail can be used in both mono and LSL2, but to receive email, you need to script in LSL2. (tip : Receive the email in a small LSL2 script and send the email-address, subject and message whatever you need to a mono script if you want to use mono) Jody Palmer
All Issues ~ Search JIRA for related Bugs

Examples

<lsl> default {

   state_entry() {
       llSetTimerEvent(1); //Don't go much lower than this...
   }
   
   timer() {
       llGetNextEmail("", ""); //Check for emails
   }
   
   email(string time, string address, string subj, string message, integer num_left) {
    
        llOwnerSay("I got an email: " + subj + "\n" + message);
      
   }

}

</lsl>

See Also

Events

•  email

Functions

•  llEmail

Deep Notes

Search JIRA for related Issues

Signature

function void llGetNextEmail( string address, string subject );