Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: Sending e-mail with attachment
Topic Summary:
Created On: 18-Sep-2007 12:06
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 18-Sep-2007 12:06
User is offline View Users Profile Print this message


Thomas Langholz

Posts: 40
Joined: 20-Oct-2005

Hi all, does anybody know if it is possible to send an e-mail with attachment via dxl without using ole? thanks for help greez thomas
Report this to a Moderator Report this to a Moderator
 18-Sep-2007 13:16
User is offline View Users Profile Print this message


David Pechacek

Posts: 674
Joined: 5-Dec-2006

The only email functions not using OLE are sendEmailNotification and sendEmailMessage. They don't permit attachments.

There are these undocumented ones but they still don't allow attachments.
Undocumented Email Functions

You'd have to use OLE to drive Outlook (how to do so is a simple search away).

-------------------------
David Pechacek
AAI Services Textron
dpechacek@sc-aaicorp.com
David.Pechacek@gmail.com

Edited: 18-Sep-2007 at 13:17 by David Pechacek
Report this to a Moderator Report this to a Moderator
 19-Sep-2007 09:51
User is offline View Users Profile Print this message


Thomas Langholz

Posts: 40
Joined: 20-Oct-2005

well, this is not that kind of answer i wanted to read does anyone know if and if yes, how i can put richtext into the mailbody? my intention is to put a table into the mailbody greetings thomas
Report this to a Moderator Report this to a Moderator
 19-Sep-2007 14:10
User is offline View Users Profile Print this message


Kevin Murphy

Posts: 206
Joined: 15-Jul-2005

Thomas,

When you receive an email with a table in it, chances are you are NOT viewing it in RTF format, but rather in HTML format.

You'd need to write a script to convert the table to HTML, then email that.

-------------------------
Kevin Murphy
http://www.baselinesinc.com
The Requirements Management Experts
Report this to a Moderator Report this to a Moderator
 19-Sep-2007 14:27
User is offline View Users Profile Print this message


Kevin Murphy

Posts: 206
Joined: 15-Jul-2005

Thomas,

One thing I just thought of is if you are using a RichText email reader, why not just send the RichText string in the body?

Something like:

Object o = current
string strEmailBody = richText(o."Object Text")


Send strEmailBody as the body of the email, and if your email clients can read RTF, that may work.

-------------------------
Kevin Murphy
http://www.baselinesinc.com
The Requirements Management Experts
Report this to a Moderator Report this to a Moderator
 20-Sep-2007 07:53
User is offline View Users Profile Print this message


Thomas Langholz

Posts: 40
Joined: 20-Oct-2005

Hi Kevin,
thanks for your advice, but doors seems to send exclusive only-text mails.
Does anyone knows how to change the mailformat?

thanks for help
thomas
Report this to a Moderator Report this to a Moderator
 20-Sep-2007 18:15
User is offline View Users Profile Print this message


Kevin Murphy

Posts: 206
Joined: 15-Jul-2005

Thomas,

I did some research as I am not in an environment where DOORS is configured to use a mail server, so I can't test it.

When you receive an email in a client, there are headers included that tell the client what kind of email it is (HTML, Rich Text, Plain Text).

My guess is that DOORS is sending as Plain Text.

In your email client, have you tried viewing the Plain Text as Rich Text? Do you get the option to?

Another thing I would try is sending simple HTML with DOORS, via plain text. So..

string s = "<HTML><BODY><H1>Hello World</H1><P>This is a paragraph.</BODY></HTML>"

and send s and see if that works.

I bet that the DOORS mail function defaults to plain text and there is no way to get at that to change it, as it's a server-side function.

-------------------------
Kevin Murphy
http://www.baselinesinc.com
The Requirements Management Experts
Report this to a Moderator Report this to a Moderator
 21-Sep-2007 13:57
User is offline View Users Profile Print this message


Karl Breuer

Posts: 66
Joined: 11-Jul-2005

Thomas,
I don't know if this is what you are looking for.
We send an automatic email notification when a new account is created with an http-address in the body that points to a ppt with instructions how to log in to DOORS.
Of course this is not actually sending an attachment, but as the email client displays the http as a hyperlink, it is almost as good as one.
Karl
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 2 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 2 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.