SendEmail
Sends an email to a specific player through their phone system.
Bridge.Phone.SendEmail(src, email, title, message)local Bridge = exports['community_bridge']:Bridge()
-- Send a welcome email
local success = Bridge.Phone.SendEmail(
source,
"admin@cityserver.com",
"Welcome to the City!",
"Thank you for joining our server. Please read the rules and have fun!"
)
if success then
print("Welcome email sent!")
else
print("Failed to send email")
endLast updated