Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9226449
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T04:49:59+00:00 2026-06-18T04:49:59+00:00

I am trying to use Python 2.7.3.2 to send an email through Lotus Notes

  • 0

I am trying to use Python 2.7.3.2 to send an email through Lotus Notes 8.5.

There are plenty of examples on how to do this in other languages, and I’ve done it myself in VBA, but having difficulties with Python.

self.db = self.session.getDatabase(server, dbfile)
# ...
mailDoc         = self.db.CreateDocument
mailDoc.Form    = "Memo"
mailDoc.sendto  = recipientList
mailDoc.subject = subject
mailDoc.Body    = bodytext

Error returned: AttributeError: Property 'CreateDocument.Form' can not be set.

I have attempted to skip setting the form, but it also fails on setting any of these attributes.

Would anyone have code on this, or suggestions on what to try to resolve it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T04:50:01+00:00Added an answer on June 18, 2026 at 4:50 am

    I know nothing about Python, but my guess is that the shorthand notation document.item = "foo" for setting an item value is not supported. Most likely, you need to do this:

    mailDoc.AppendItemValue("Form","Memo")
    

    (You can also use ReplaceItemValue, which is equivalent for a newly created document, and also works for updating existing documents, so many people prefer to just remember the one method name.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to use python's imaplib to create an email and send it
I m trying to use smtp class from Python 2.6.4 to send smtp email
I am trying to use python socket instead of netcat to send metric data
I am trying to use python shopify api with OAuth2 and working through the
I am trying to send an email using python but despite I am using
I'm trying to use python and mechanize to send sms from my mobile provider
I'm trying to use Python's getattr() to extract data out of a number of
I'm trying to use python to parse a log file and match 4 pieces
I am trying to use Python's ElementTree to generate an XHTML file. However, the
I am trying to use Python to resize picture. With my camera, files are

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.