Independentsoft
- any library, any programming language
Home
Purchase
Support
Company
Contact
MSG PY
>
Tutorial
> Create contact
The following example shows you how to create a contact item.
from independentsoft.msg import Message contact = Message() contact.message_class = "IPM.Contact" contact.subject = "John Smith" contact.display_name_prefix = "Mr." contact.display_name = "John Smith" contact.given_name = "John" contact.surname = "Smith" contact.company_name = "Independentsoft" contact.email1_address = "john@independentsoft.com" contact.email1_display_as = "John" contact.email1_display_name = "John" contact.email1_type = "SMTP" contact.business_address_city = "NY" contact.business_address_street = "First Street" contact.business_address_country = "USA" contact.business_address = "First Street, NY, USA" contact.business_phone = "555-666-777" contact.save("e:\\contact.msg")
Need help? Ask our developers:
Name*
Email*
Message*