1Data::ICal::Entry::AlarUms:e:rEmCaoinlt(r3i)buted Perl DDoactuam:e:nItCaatli:o:nEntry::Alarm::Email(3)
2
3
4
6 Data::ICal::Entry::Alarm::Email - Represents an emailed alarm in an
7 iCalendar file
8
10 my $valarm = Data::ICal::Entry::Alarm::Audio->new();
11 $valarm->add_properties(
12 attach => [ "basic:ftp://host.com/pub/sounds/bell-01.aud", { fmttype => "audio/basic" } ],
13 # Dat*e*::ICal is not a typo here
14 trigger => [ Date::ICal->new( epoch => ... )->ical, { value => 'DATE-TIME' } ],
15 );
16
17 $vevent->add_entry($valarm);
18
20 A Data::ICal::Entry::Alarm::Email object represents an emailed alarm
21 attached to a todo item or event in an iCalendar file. (Note that the
22 iCalendar RFC refers to entries as "components".) It is a subclass of
23 Data::ICal::Entry::Alarm and accepts all of its methods.
24
25 The "attendee" properties are intended as the recipient list of the
26 email; the "summary" as its subject; the "description" as its body; and
27 the "attach" as its attachments.
28
30 new
31 Creates a new Data::ICal::Entry::Alarm::Email object; sets its "ACTION"
32 property to "EMAIL".
33
34 mandatory_unique_properties
35 In addition to "action" and "trigger" (see
36 "mandatory_unique_properties" in Data::ICal::Entry::Alarm), emailed
37 alarms must also specify a value for "description" and "summary".
38
39 mandatory_repeatable_properties
40 According to the iCalendar standard, the "attendee" property must be
41 specified at least once for an emailed alarm.
42
43 optional_repeatable_properties
44 According to the iCalendar standard, the "attach" property may be
45 specified any number of times for an emailed alarm.
46
48 Best Practical Solutions, LLC <modules@bestpractical.com>
49
51 Copyright (c) 2005 - 2020, Best Practical Solutions, LLC. All rights
52 reserved.
53
54 This module is free software; you can redistribute it and/or modify it
55 under the same terms as Perl itself. See perlartistic.
56
57
58
59perl v5.38.0 2023-07-20Data::ICal::Entry::Alarm::Email(3)