aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
index 53d1209..4fc4608 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
@@ -2222,7 +2222,11 @@ namespace OpenSim.Region.ScriptEngine.Common
2222 public void llEmail(string address, string subject, string message) 2222 public void llEmail(string address, string subject, string message)
2223 { 2223 {
2224 m_host.AddScriptLPS(1); 2224 m_host.AddScriptLPS(1);
2225 NotImplemented("llEmail"); 2225 IEmailModule emailModule = m_ScriptEngine.World.RequestModuleInterface<IEmailModule>();
2226 if (emailModule == null)
2227 return;
2228
2229 emailModule.SendEmail(m_host.UUID, address, subject, message);
2226 } 2230 }
2227 2231
2228 public void llGetNextEmail(string address, string subject) 2232 public void llGetNextEmail(string address, string subject)