You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-2Lines changed: 19 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,8 +46,22 @@ The CLR stored procedure `clr_send_ics_invite` accepts the following parameters:
46
46
|`@cc`| nvarchar(400) |_null_| Optional parameter. Accepts a list of e-mail addresses (at least one) to be used as CC, separated by either a comma or a semicolon. |
47
47
|`@reply_to`| nvarchar(4000) |_null_| Optional parameter. Accepts an e-mail address to be used as the Reply To address (if different from the `@from` address. |
48
48
|`@subject`| nvarchar(4000) |_no default_| Mandatory parameter. A text string to be used as the meeting / e-mail's subject. |
49
-
50
-
> TBA
49
+
|`@body`| nvarchar(4000) |_null_| Optional parameter. A text string to be used as the e-mail's HTML body. |
50
+
|`@location`| nvarchar(4000) |_null_| Optional parameter. Sets the location for the meeting. |
51
+
|`@start_time_utc`| datetime |_null_| Optional parameter. Sets the start time (in UTC) of the meeting. If not specified, by default will be set as **UTC now + 5 hours**. |
52
+
|`@end_time_utc`| datetime |_null_| Optional parameter. Sets the end time (in UTC) of the meeting. If not specified, by default will be set as **`@start_time_utc` + 1 hour**. |
53
+
|`@timestamp_utc`| datetime |_null_| Optional parameter. Sets the DTSTAMP section of the iCal (usually used for consistent updating of meeting invites). If not specified, by default will be set as **UTC now**. |
54
+
|`@smtp_server`| nvarchar(4000) |_null_| Optional parameter. Sets the SMTP host name to be used for sending the e-mail. If not specified, by default will be set as **"localhost"**. |
55
+
|`@port`| int |_25_| Optional parameter. Sets the SMTP port to be used for sending the e-mail. If not specified, by default will be set as **25**. |
56
+
|`@use_ssl`| bit |_0_| Optional parameter. Sets whether to use SSL authentication for the SMTP server. If not specified, by default will be set as **0 (false)**. |
57
+
|`@username`| nvarchar(4000) |_null_| Optional parameter. Sets the username to use when authenticating against the SMTP server. If not specified, by default the **current Network Credentials** will be used (of the SQL Server service). |
58
+
|`@password`| nvarchar(4000) |_null_| Optional parameter. Sets the password to use when authenticating against the SMTP server. Only used when `@username` is also specified. By default, will use **empty password**. |
59
+
|`@use_reminder`| bit |_1_| Optional parameter. Sets whether to set a reminder for the meeting. By default is set to **1 (true)**. |
60
+
|`@reminder_minutes`| int |_15_| If `@use_reminder` is enabled, this parameter will be used for setting the reminder time in minutes. By default is set to **15**. |
61
+
|`@require_rsvp`| bit |_0_| If set to 0 (false), then participants will not be required to respond with RSVP, and their participation is automatically set as ACCEPTED. If set to 1 (true), then participants will be required to respond with RSVP, and their participation is automatically set as NEEDS-ACTION. By default set to **0 (false)**. |
62
+
|`@cancel_event_identifier`| uniqueidentifier |_null_| You may specify a value for this parameter, if you want to cancel an event that you've already sent. Use the corresponding event's identifier. |
63
+
|`@event_identifier`| uniqueidentifier |_null_| Output parameter. Returns the event's GUID, which can later be used for cancellation. |
64
+
|`@suppress_info_messages`| bit |_0_| If set to 0, an informational message will be printed upon successful delivery of the invitation ( ex. "Mail Sent. Event Identifier: 1234-1234-1234-1234" ). If set to 1, this message will not be printed. By default is set to **0 (false)**. |
51
65
52
66
## License and copyright
53
67
@@ -61,3 +75,6 @@ This project was based mostly on the following stack overflow discussion:
0 commit comments