Calendar.Alarm.SetEmailAddress
------------------------------

Sets the email address for this alarm.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Calendar](component_Calendar.md) | [3.5](newinversion35.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

### Deprecated

This function was [deprecated](deprecated.md).

MBS( "Calendar.Alarm.SetEmailAddress"; alarmRef; Email ) 

**MBS**( **"Calendar.Alarm.SetEmailAddress";** /\* Sets the email address for this alarm. \*/  
**$alarmRef**; /\* The reference to the calendar alarm. \*/   
**$Email**) /\* The new email address a text.e.g. "test@monkeybreadsoftware.com" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| alarmRef | The reference to the calendar alarm. | $alarmRef |
| Email | The new email address a text. | "test@monkeybreadsoftware.com" |

### Result

Returns OK or error.

### Description

Sets the email address for this alarm.  
Setting an emailAddress will also set the action to Email as well as set the sound and URL to "".  
### See also

- [Calendar.Alarm.GetEmailAddress](CalendarAlarmGetEmailAddress.md)
- [Events.Alarm.GetEmailAddress](EventsAlarmGetEmailAddress.md)
- [Events.Alarm.SetEmailAddress](EventsAlarmSetEmailAddress.md)

This function checks for a license.

Created 18th August 2014 , last changed 4th March 2023

  
[Calendar.Alarm.SetAction](CalendarAlarmSetAction.md) - [Calendar.Alarm.SetRelatedTo](CalendarAlarmSetRelatedTo.md)

[HTML Version](CalendarAlarmSetEmailAddress.shtml)