473,788 Members | 2,725 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

E-Mail & Excel

I'm setting up an auto e-mailer in VB.NET to send daily reports to clients.
I have the main part of that all set, but there are a couple of things I'm
not quite sure on:

1) I'll be sending about 10-20 reports, and am not quite sure how to queue
them. The reports are anywhere from 500K to 3MB, so I imagine this is
fairly important. Does the SMTPMail object handle this automatically, or do
I need to implement something to wait for each message to be sent?

2) I'd like to be able to put Excel-type formatting into the body of the
e-mail without actually going through Outlook Express... I'm pretty sure I
can figure out how to create the Excel sheets I need to create through the
Excel object model, but I'm not sure how to transfer that over to the body
of the e-mail without using Excel's integration with OE.

Any suggestions would be greatly appreciated.

Mike
Nov 20 '05 #1
3 1722
1. I believe that SMTP mail automatically supports the email message
queues.
2. use attachment property to send it as an attachment but i dont think
there is any way to paste the excel sheet in the message body in the SMTP
without going to outlook.

"Mike Caputo" <mi************ @radarwire.com> wrote in message
news:ep******** ******@tk2msftn gp13.phx.gbl...
I'm setting up an auto e-mailer in VB.NET to send daily reports to clients. I have the main part of that all set, but there are a couple of things I'm
not quite sure on:

1) I'll be sending about 10-20 reports, and am not quite sure how to queue
them. The reports are anywhere from 500K to 3MB, so I imagine this is
fairly important. Does the SMTPMail object handle this automatically, or do I need to implement something to wait for each message to be sent?

2) I'd like to be able to put Excel-type formatting into the body of the
e-mail without actually going through Outlook Express... I'm pretty sure I
can figure out how to create the Excel sheets I need to create through the
Excel object model, but I'm not sure how to transfer that over to the body
of the e-mail without using Excel's integration with OE.

Any suggestions would be greatly appreciated.

Mike

Nov 20 '05 #2
Thanks on question 1.

As for 2, I kinda thought that was the case, so thanks for letting me know.
Is there any way to do any type of formatting in the body? This
unfortunately can't be done as an attachment, which I think is silly too...
as usual, this need is based on the old ID10T rule. Thanks for your help.

Mike

"Tejpal Garhwal" <te************ @ocs.com> wrote in message
news:uD******** ******@TK2MSFTN GP10.phx.gbl...
1. I believe that SMTP mail automatically supports the email message
queues.
2. use attachment property to send it as an attachment but i dont think
there is any way to paste the excel sheet in the message body in the SMTP
without going to outlook.

"Mike Caputo" <mi************ @radarwire.com> wrote in message
news:ep******** ******@tk2msftn gp13.phx.gbl...
I'm setting up an auto e-mailer in VB.NET to send daily reports to clients. I have the main part of that all set, but there are a couple of things I'm
not quite sure on:

1) I'll be sending about 10-20 reports, and am not quite sure how to queue
them. The reports are anywhere from 500K to 3MB, so I imagine this is
fairly important. Does the SMTPMail object handle this automatically, or do I need to implement something to wait for each message to be sent?

2) I'd like to be able to put Excel-type formatting into the body of the
e-mail without actually going through Outlook Express... I'm pretty sure I
can figure out how to create the Excel sheets I need to create through the
Excel object model, but I'm not sure how to transfer that over to the body
of the e-mail without using Excel's integration with OE.

Any suggestions would be greatly appreciated.

Mike


Nov 20 '05 #3
You can use RTF (Rich Text Format) in the body of the message, as long as
the client email program supports it. (Most modern ones do, I think.)

An RTF string contains special formatting codes to allow you to use
different fonts, sizes, bolding, etc. I think RTF also supports tables, so
you could display tabular information in a way similar to Excel.

Alternatively, you could send HTML (including tables.) Most email programs
support HTML, but some clients might disable HTML emails to block HTML spam
messages.
"Mike Caputo" <mi************ @radarwire.com> wrote in message
news:eo******** ******@TK2MSFTN GP12.phx.gbl...
Thanks on question 1.

As for 2, I kinda thought that was the case, so thanks for letting me know. Is there any way to do any type of formatting in the body? This
unfortunately can't be done as an attachment, which I think is silly too... as usual, this need is based on the old ID10T rule. Thanks for your help.

Mike

"Tejpal Garhwal" <te************ @ocs.com> wrote in message
news:uD******** ******@TK2MSFTN GP10.phx.gbl...
1. I believe that SMTP mail automatically supports the email message
queues.
2. use attachment property to send it as an attachment but i dont think
there is any way to paste the excel sheet in the message body in the SMTP
without going to outlook.

"Mike Caputo" <mi************ @radarwire.com> wrote in message
news:ep******** ******@tk2msftn gp13.phx.gbl...
I'm setting up an auto e-mailer in VB.NET to send daily reports to clients.
I have the main part of that all set, but there are a couple of things I'm not quite sure on:

1) I'll be sending about 10-20 reports, and am not quite sure how to queue them. The reports are anywhere from 500K to 3MB, so I imagine this is
fairly important. Does the SMTPMail object handle this automatically, or do
I need to implement something to wait for each message to be sent?

2) I'd like to be able to put Excel-type formatting into the body of the
e-mail without actually going through Outlook Express... I'm pretty sure

I can figure out how to create the Excel sheets I need to create through the Excel object model, but I'm not sure how to transfer that over to the body of the e-mail without using Excel's integration with OE.

Any suggestions would be greatly appreciated.

Mike


Nov 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2136
by: David Alliet | last post by:
Hello, I'm having a bit of a problem with ASP and Excel. A client has developed his own program, which calculates alot of financial stuff, in excel. I'm doing his websites and he has requested the ability to do the same thing his program does, but through the website. Because his excel program is a dozen worksheets (all packed with endless rows of formulas) long, i thought it'd use excel as backbone of the webprogram (don't worry, the...
0
1319
by: Oded | last post by:
Hi, I'm trying to export an ASP based report to Excel while preserving its display properties. I've added: Response.ContentType="application/vnd.ms-excel", and it works fine for several clients. For other clients it displays an emptry excel sheet. I'm not sure, but i think it has something to do with the excel version installed on clients - empty sheets were displayed for Excel 2000 clients while clients running Excel 2002 displayed the...
1
2324
by: ciruliz ciruliz | last post by:
In Excel there is one greate feature - I can create table with ole object field type & put excel document in it, then in table view when double-clicking on that field , excel document opens in excel window how can i do this in VB.NET ? I've found in Ms Access macros , I can do this with ole container object, launching external excel from it automatically. but there is no ole support in VB.NET. Any ideas?
2
1220
by: Ivan Lozada | last post by:
Hi there, I developed a simple VB executable, i.e. x.exe, that manipulates an Excel File. I have the full Microsoft Office set in my development PC. My question is: can this program x.exe run in a PC that does not have Excel installed? Is there a re-distributable that can be included in a Setup Program?, or you must have Excel in every PC where I would like this program to run? Thanks to anybody who takes the time to provide any...
6
2407
by: Mark Rae | last post by:
Hi, My client has asked me to provide a "quick and dirty" way to export the contents of a DataGrid to both Excel for analysis and Word for editing and printing, so I'm investigating client-side automation. N.B. the environment is a totally enclosed intranet, all the client machines have WinXP, IE6 and Office Pro 2003 with all the latest SPs, and the IE security settings are sufficient to allow the Local Intranet Zone to instantiate...
0
1758
by: dt | last post by:
I downloaded Microsoft Office 2003 Reference Schemas from: http://www.microsoft.com/downloads/details.aspx?familyid=fe118952-354... Then I tried to use JAXB on them, specifically excel.xsd and excelss.xsd. The first one passes OK, but doesn't contain Worksheet element, which is the root element for Excel 2003 documents saved as XML. The other schema, excelss.xsd, contains the definition of this element, but doesn't pass through JAXB....
0
1513
by: AlexNunley | last post by:
I am trying to dump data from an access query into excel so I can pretify it. I found sample code from an old access 97 book (The version of access in use)and tinkered it into working. Well sort of. The error I get is usually a "Object Required" error, and it highlights the bolded section below. I have been through this thing backwards and forth and cannot figure it out. I am new to this whole thing, so be easy on me. Thanks! Alex ...
4
4401
by: Suzette | last post by:
I have an excel file that automatically updates when opened, pulling information from an Access database into into various pivot tables. I created a macro in Access to perform various necessary functions with the data. I want to be able to open an Access form that I created, and then hit a button that will run the macros and that will open the excel database. The only problem that I am having is that when the excel file opens and tries...
5
2409
by: Ty | last post by:
I'm new to SQL but not Excel I was given a Excel spreadsheet with Employee names. I have a large database with a Personal Table with Employee names and a whole list of other tables that I'm used to running queries. I'm still new to queries. I can run queries using the Pers_Table with employees and other tables. How can I import the Excel sheet and use it as the Pers table with only the names of the 10 employees listed in the...
0
9498
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10373
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10177
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10118
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8995
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7519
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5403
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4074
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3677
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.