llGetNextEmail

From Second Life Wiki
Revision as of 11:10, 26 November 2007 by Xaviar Czervik (talk | contribs) (Added example.)
Jump to navigation Jump to search

Summary

Function: llGetNextEmail( string address, string subject );

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

• string address
• string subject

Examples

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);
       
    }
}

See Also

Events

Deep Notes

Search JIRA for related Issues

Signature

function void llGetNextEmail( string address, string subject );