Independentsoft
- any library, any programming language
Home
Purchase
Support
Company
Contact
MSG JS
>
Tutorial
> Create appointment
The following example shows you how to create an appointment.
import * as msg from './independentsoft/msg/msg.js'; import * as fs from 'fs'; let appointment = new msg.Message() appointment.messageClass = "IPM.Appointment"; appointment.subject = "Test"; appointment.body = "Body text"; appointment.location = "My Office"; appointment.appointmentStartTime = new Date(2023,11,10,8,0,0); appointment.appointmentEndTime = new Date(2023,11,10,10,0,0); fs.writeFileSync("e:\\appointment.msg", appointment.toBytes());
Need help? Ask our developers:
Name*
Email*
Message*