Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old December 15th, 2006, 07:25 AM
mrajanikrishna@gmail.com
Guest
 
Posts: n/a
Default Sending the generated report via mail

Hi friends,

I am generating a shipment order booking. For this, I am generating
a report which contains the container details. And another report from
another file, generating the packing list.
These two report are from two different pages. I want to send these two
reports together by mail.
Quote:
>From one page, I can send directly using
cdoMail.subject="Shipping order booking form"
cdoMail.To="to email"
cdoMail.From="from email"
cdoMail.body=strHtml (which is submitted from report page)
cdoMail.send

But I want to send both reports in one mail. How can I use other page
to the current page and send by mail?

thanks in advance

  #2  
Old December 15th, 2006, 08:55 AM
Evertjan.
Guest
 
Posts: n/a
Default Re: Sending the generated report via mail

wrote on 15 dec 2006 in microsoft.public.inetserver.asp.general:
Quote:
Hi friends,
>
I am generating a shipment order booking. For this, I am generating
a report which contains the container details. And another report from
another file, generating the packing list.
These two report are from two different pages. I want to send these two
reports together by mail.
>
Quote:
>>From one page, I can send directly using
>
cdoMail.subject="Shipping order booking form"
cdoMail.To="to email"
cdoMail.From="from email"
cdoMail.body=strHtml (which is submitted from report page)
cdoMail.send
>
But I want to send both reports in one mail. How can I use other page
to the current page and send by mail?
The best way [imho] is to make one page with both reports.

Otherways, you will have to save the first sting somewhere:

1 in a database
2 in a temporary file
3 in a session variable

all have their pros and cons.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
  #3  
Old December 15th, 2006, 09:35 AM
mrajanikrishna@gmail.com
Guest
 
Posts: n/a
Default Re: Sending the generated report via mail


Hello,

Thank you for the reply. Can I store a long string (strHTML) in a
session variable?



Evertjan. wrote:
Quote:
wrote on 15 dec 2006 in microsoft.public.inetserver.asp.general:
>
Quote:
Hi friends,

I am generating a shipment order booking. For this, I am generating
a report which contains the container details. And another report from
another file, generating the packing list.
These two report are from two different pages. I want to send these two
reports together by mail.
Quote:
>From one page, I can send directly using
cdoMail.subject="Shipping order booking form"
cdoMail.To="to email"
cdoMail.From="from email"
cdoMail.body=strHtml (which is submitted from report page)
cdoMail.send

But I want to send both reports in one mail. How can I use other page
to the current page and send by mail?
>
The best way [imho] is to make one page with both reports.
>
Otherways, you will have to save the first sting somewhere:
>
1 in a database
2 in a temporary file
3 in a session variable
>
all have their pros and cons.
>
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
  #4  
Old December 15th, 2006, 11:55 AM
Bob Barrows [MVP]
Guest
 
Posts: n/a
Default Re: Sending the generated report via mail

Sure, if your web server has sufficient resources (memory), and you're
diligent about deleting it from session as soon as you're finished with it
instead of letting the cleanup at the end of the session take care of it.

mrajanikrishna@gmail.com wrote:
Quote:
Hello,
>
Thank you for the reply. Can I store a long string (strHTML) in a
session variable?
>
>
>
Evertjan. wrote:
Quote:
>wrote on 15 dec 2006 in microsoft.public.inetserver.asp.general:
>>
Quote:
>>Hi friends,
>>>
>> I am generating a shipment order booking. For this, I am
>>generating a report which contains the container details. And
>>another report from another file, generating the packing list.
>>These two report are from two different pages. I want to send these
>>two reports together by mail.
>>>
>>>From one page, I can send directly using
>>>
>>cdoMail.subject="Shipping order booking form"
>>cdoMail.To="to email"
>>cdoMail.From="from email"
>>cdoMail.body=strHtml (which is submitted from report page)
>>cdoMail.send
>>>
>>But I want to send both reports in one mail. How can I use other
>>page to the current page and send by mail?
>>
>The best way [imho] is to make one page with both reports.
>>
>Otherways, you will have to save the first sting somewhere:
>>
>1 in a database
>2 in a temporary file
>3 in a session variable
>>
>all have their pros and cons.
>>
>--
>Evertjan.
>The Netherlands.
>(Please change the x'es to dots in my emailaddress)
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"


 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles