![]() | scheduleEmail |
Prev | DCOP interface | Next |
scheduleEmail — schedule a new alarm which sends an email.
bool scheduleEmail(const QString& addresses, const QString& subject, const QString& message, const QString& attachments, const QDateTime& dateTime, int flags, const QString& recurrence)
bool scheduleEmail(const QString& addresses, const QString& subject, const QString& message, const QString& attachments, const QDateTime& dateTime, int flags, int simpleRepeatType, int interval, int repeatCount)
bool scheduleEmail(const QString& addresses, const QString& subject, const QString& message, const QString& attachments, const QDateTime& dateTime, int flags, int simpleRepeatType, int interval, const QDateTime& endTime)
Specifies the recipient's email address. Specify multiple addresses by separating them with commas.
Specifies the subject line of the email.
Specifies the email message body.
Specifies the URLs of files to attach to the email. Separate multiple URLs by commas.
Specifies the scheduled date and time at which the email should be sent.
Specifies the logical OR of the desired alarm flags. The flag bits are those defined in class KAEvent in alarmevent.h
Specifies a regular recurrence for the alarm, using iCalendar syntax as defined in RFC2445. For example, “FREQ=MONTHLY;COUNT=4;INTERVAL=3;BYDAY=-1MO” would specify 4 repetitions at 3-monthly intervals on the last Monday of the month. For a non-recurring alarm, specify an empty string.
Specifies the recurrence type for the alarm. The permissible values are MINUTELY, DAILY, WEEKLY, MONTHLY_DAY, ANNUAL_DATE. These are defined in class KAEvent in alarmevent.h.
Specifies the number of periods (minutes/days/weeks/months/years) between repetitions of the alarm.
Specifies the number of times that the email should be sent. Specify -1 to repeat the alarm indefinitely.
scheduleEmail() is a DCOP call to schedule the specified email for sending at the specified date and time. Apart from specifying the email header and contents and omitting the message color and audio file parameters, its usage is identical to scheduleMessage - see the description of that function for further details.
Prev | Home | Next |
scheduleCommand | Up | Command line interface |