Solved

how format data to the html format in the agent

Posted on 2003-11-28
11
204 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
 
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
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

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…
This article covers general Notes 8.5 troubleshooting information including recreating the Notes\Data folder.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

758 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now