Solved

how format data to the html format in the agent

Posted on 2003-11-28
11
209 Views
Last Modified: 2013-12-18
Hi,
i have a problem containing three part in which i resolve first part but not the second and third part as follwos
1)connect to the SQL Server and extratc data which i have completed.
2)format the extracted data in the html format (how this will happened b/c i am using the agents Lotus Script)
3)send this formatted attachment to the mail server of hotmail and when the user open the attached document so he can view easily while at that side no Lotus client install )
last two part i can't resolve please help me b/c due to this my project has been stuck please let me know how can i solve my problem.

Sadia
0
Comment
Question by:kamal_sadia
  • 5
  • 2
  • 2
11 Comments
 
LVL 31

Accepted Solution

by:
qwaletee earned 500 total points
ID: 9839309
Hi kamal_sadia,

In R6, this merely requires a setting on the server.

In R5, you need a bit of code available on OpenNTF, I'll go fetch it...

Best regards,
qwaletee
0
 
LVL 31

Expert Comment

by:qwaletee
ID: 9839316
0
 
LVL 31

Expert Comment

by:qwaletee
ID: 9844055
I really only addresses point 3, so that still leaves point 2.

In R6, construction an HTML e-Mail is very easy.  You design a form to look more or less like you want the HTML e-Mail to look, put in fields where you want to plug in the HTML values, and then just send the form STORING FORM IN DOCUMENT -- Call doc.Send(True).  The Domino SMTP server will automatically convert the rich text document into HTML when sending, and it converts the stored form as part of that process.  I've done this, looks pretty good.

Unfornately, R5 does not support turning "rich text" (which is what a form is) into HTML, at least as far as I know it does not.  So, you end up having to use the code I linked to for you, and you end up having to write all the HTML yourself, in LotusScript, as PRINT statements to a disk file.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 19

Expert Comment

by:RanjeetRain
ID: 9855324
Kamal, can you please REWRITE your problem once again. Please describe it better. I wanted to post a cooment to this question earlier but I couldn't get the ground.
0
 
LVL 1

Expert Comment

by:yoshi78
ID: 9875248
Kamal,

If you are running 6.x you may want to look into notesstream classes and mimeentities in the help files.  It's the only way I've found to send past the 32k limit that is described in the link above.  I've just completed a db that sends multiple tables wich I format and send coded in HTML to a vendor.  The files have tested capabilities of above 9 meg capacity, so you have less of a size limitation this way.

Just another option.
HTH
Yoshi
0
 
LVL 31

Expert Comment

by:qwaletee
ID: 9884978
yoshi78,
I'd be interested in seeing some of your code
0
 
LVL 1

Expert Comment

by:yoshi78
ID: 9888446
qwaletee
Just email me.  The application I am refering to has some context sensitive data so I'll cut it down a bit, but you'll see where I was headed I think.  

Please include which version you run and your level of experience and I'll be happy to share!

Yoshi
0
 
LVL 31

Expert Comment

by:qwaletee
ID: 9894735
yoshi78,
> qwaletee
> Just email me.  The application I am refering to has some context sensitive
> data so I'll cut it down a bit, but you'll see where I was headed I think.

> Please include which version you run and your level of experience and I'll be happy to share!

> Yoshi

I don't have your e-Mail, it isn't in your profile -- but you can find my address in my profile here.

I'm running 6.01, and I'm a fairly accomplished Notes developer.
0
 
LVL 19

Expert Comment

by:RanjeetRain
ID: 12305339
qwaletee,

Could you please forward me the mail Yoshi sent you. As usual, my email is on my profile.

Thanks.
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
I thought it will be a good idea to make a post as it will help in case someone else faces these issues. I trust this gives an idea how each entry in Notes.ini can mean a lot for the Domino Server to be functioning properly. This article discusses t…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

685 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