Go Premium for a chance to win a PS4. Enter to Win


Attachments in email

Posted on 2000-11-22
Medium Priority
Last Modified: 2013-12-18
I've got attachments in a richtext field (ATT) on a document. I want to send an email with the attachments. I tried to do this:

Set rtitem = New NotesRichTextItem( note, "Body" )
Set attachrtitem = doc.Getfirstitem("ATT")
Call rtitem.AppendRTItem( attachrtitem )

And Lotus Notes crashes.

Do I have to detach each file and do embedobjects?  

Question by:IceMountain
  • 2

Accepted Solution

BBeckham earned 200 total points
ID: 5542080
Try copying the item to the mail doc.

Call maildoc.CopyItem(attachrtitem,newnameitem)

Expert Comment

ID: 6765112

Some of these questions have been open for some time. Please resolve them appropriately as soon as possible. Continued disregard of your open questions will result in the force/acceptance of a comment as an answer; other actions affecting your account may also be taken. I will revisit these questions in approximately seven (7) days.

http://www.experts-exchange.com/jsp/qShow.jsp?ta=apache&qid=20244080 12/05/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=dbgen&qid=20176058 08/29/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=linux&qid=20104970 04/12/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=linux&qid=20163211 08/04/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=lotusnotes&qid=11950339 11/22/00  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=lotusnotes&qid=20014301 12/28/00  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=lotusnotes&qid=20029438 01/10/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=lotusnotes&qid=20074928 02/08/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=lotusnotes&qid=20079924 02/19/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=lotusnotes&qid=20122138 05/22/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=lotusnotes&qid=20124947 05/26/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=lotusnotes&qid=20136581 06/16/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=lotusnotes&qid=20142793 06/28/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=lotusnotes&qid=20144554 07/02/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=lotusnotes&qid=20168831 08/15/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=lotusnotes&qid=20208718 10/24/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=lotusnotes&qid=20226597 11/04/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=php&qid=20096626 03/25/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=php&qid=20108210 04/21/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=php&qid=20184032 09/17/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=php&qid=20206133 10/23/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=php&qid=20227517 11/05/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=perl&qid=20078009 02/14/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=perl&qid=20084634 02/27/01  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=perl&qid=20093489 03/18/01  

Please note that an Easy question is normally considered to be worth 50 points.


Community Support Moderator
Experts Exchange

Expert Comment

ID: 6807886
Admin notified of user neglect. Force/accepted by

Community Support Moderator
Experts Exchange

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For Desktop Techs: How to retain a user's Notes configuration data when swapping out the end user's computer. (Assuming that you are not upgrading to a completely different version of Notes client) All you need to do is: 1) install Notes o…
Problem "Can you help me recover my changes?  I double-clicked the attachment, made changes, and then hit Save before closing it.  But when I try to re-open it, my changes are missing!"    Solution This solution opens the Outlook Secure Temp Fold…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question