mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 14:16:07 +08:00
Mantis#1681. Thank you kindly, Vytek for a patch that:
Adds additional support for llEmail().
This commit is contained in:
@@ -2222,7 +2222,11 @@ namespace OpenSim.Region.ScriptEngine.Common
|
||||
public void llEmail(string address, string subject, string message)
|
||||
{
|
||||
m_host.AddScriptLPS(1);
|
||||
NotImplemented("llEmail");
|
||||
IEmailModule emailModule = m_ScriptEngine.World.RequestModuleInterface<IEmailModule>();
|
||||
if (emailModule == null)
|
||||
return;
|
||||
|
||||
emailModule.SendEmail(m_host.UUID, address, subject, message);
|
||||
}
|
||||
|
||||
public void llGetNextEmail(string address, string subject)
|
||||
|
||||
Reference in New Issue
Block a user