Hi,
I have written a program in vb6 that can send and receive emails but how can
i store them?
Benny 4 3921
"Benny Ng" <br*******@hotm ail.com> wrote in message
news:41******** **@news.tm.net. my... Hi,
I have written a program in vb6 that can send and receive emails but how
can i store them?
Benny
Write them to permanent storage location (e.g. your hard disk) as a file or
a database entry (MS Access is good for beginners like me!).
HTH,
Rowland.
How to do it?
Benny
"Benny Ng" <br*******@hotm ail.com> wrote in message
news:41******** **@news.tm.net. my... Hi,
I have written a program in vb6 that can send and receive emails but how can i store them?
Benny Benny "Benny Ng" <br*******@hotm ail.com> wrote in message news:41******** **@news.tm.net. my... Hi,
I have written a program in vb6 that can send and receive emails but how can i store them?
Benny
"Benny Ng" <br*******@hotm ail.com> wrote in message
news:41******** **@news.tm.net. my... How to do it?
Which would you like to know - how to store files, or how to store to a
database?
Here's a tutorial on file handling: http://www.juicystudio.com/tutorial/vb/files.asp
Here's a primer on database access (I would recommend ADO (ActiveX Data
Objects) for database connectivity): http://www.officecomputertraining.co...ges/page37.asp
Personally I would go for the file approach initially as it is simpler
(databases add a layer of complexity). However, if you were going to use
this solution for anything other than personal use, databases are probably
the way to go, and eventually you will prob. want to use a database anyway.
If you come across a specific problem, rather than a general "How to do it?"
I'll be happy to help more ;-)
Rowland.
Hi,
Thank you so much.I will try using database and if i encounter any problem i
am glad that you are happy to help.If you dont mind,Can i have your email
address so that i can contact you through email rather than on newsgroup?
Thanks
Benny
Rowland" <ba*****@hotmai l.com> wrote in message
news:ci******** **@sparta.btint ernet.com... Benny "Benny Ng" <br*******@hotm ail.com> wrote in message news:41******** **@news.tm.net. my... > Hi, > > I have written a program in vb6 that can send and receive emails but > how > can i store them? > > Benny >
"Benny Ng" <br*******@hotm ail.com> wrote in message news:41******** **@news.tm.net. my... How to do it? Which would you like to know - how to store files, or how to store to a database?
Here's a tutorial on file handling: http://www.juicystudio.com/tutorial/vb/files.asp
Here's a primer on database access (I would recommend ADO (ActiveX Data Objects) for database connectivity): http://www.officecomputertraining.co...ges/page37.asp
Personally I would go for the file approach initially as it is simpler (databases add a layer of complexity). However, if you were going to use this solution for anything other than personal use, databases are probably the way to go, and eventually you will prob. want to use a database anyway.
If you come across a specific problem, rather than a general "How to do it?" I'll be happy to help more ;-)
Rowland.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: dan glenn |
last post by:
I'm creating HTML emails from a PHP site and sending them out to an email
list (just about 40 people so far are on this list). I've tested and
confirmed that these emails work in yahoo.com's webmail. And I know they
work on *my* Outlook Express. But I have one person (I know of) who gets the
emails as plain text, so she sees the HTML code for the email instead of its
proper representation. She has, like myself, OE6, and other html emails...
|
by: Benny Ng |
last post by:
Hi,
I am creating a program that can send and receive emails.I am planning to
store the received emails in an Access database. However, when i put the
code "Data2.Recordset.Addnew" after the code that tells the program to
retrieve the message headers and message body, the error code "This action
was cancelled by an associated object".Can somebody please explain to me why
is this happenning?
Benny
|
by: James Fraley |
last post by:
I've created a MS Access form and get the exact same results as below?
Now, I believe it has something to do with storing EMails, not OLE.
I will appreciate any help!
---------------------------------------------------------------
I've created a form with an OLE obect linked to a MS Access OLE
Object. I need to store an email from Outlook in the field.
Everything works fine if I drop the email on my desktop and then pick
|
by: MLH |
last post by:
Is it possible for me to open, read and display a specific eMail
message from within an Access database? Perhaps I have
received an eMail from a customer in the customers table that
I wish to save in my mail client's message store. Maybe I don't
want to cut 'n paste its contents into a memo field in the customers
table. I just want to save a pointer to it so when flipping through
customer records on a form, I can pull it up & view it...
|
by: Kun |
last post by:
i have the following code:
----------------------------------
import smtplib
from email.MIMEText import MIMEText
fp = open('confirmation.txt', 'rb')
msg = MIMEText(fp.read())
From = 'xxxx@xxxx.xxxx.edu'
| |
by: micahc |
last post by:
I currently have a Python program that reads in emails from a POP3
server. As soon as the message is read in it is fed directly into a
PostgreSQL database for storage. Later, it is broken down into it's
parts and displayed to the user.
My problem is that when I try to pass "\tsome text\xa7some more text\n"
into the database it gives me a unicode decode error. At this point in
the program I don't know what codec it is (I won't know...
|
by: sck10 |
last post by:
Hello,
I am working on a new project where I need to:
1. open an email and then create an xml file from the email
2. open the xml file and parse the information.
I would like to be able to do the second step using a web page and then
duplicate it with a Windows Service. Does anybody know of some good links
on how to get started on something like this. I haven't created a Windows
Service before, so this will be new to me.
|
by: =?Utf-8?B?RGFuY2Vy?= |
last post by:
Hi,
I was attempting to check my new incoming emails through Outlook Express (I
have Windows 98, 2nd Edition). My computer seemed to be having a problem
accessing and opening the emails, and the next thing I knew the screen was
showing "the system is busy" message. So I pressed "Control-Alt-Delete" as it
indicated to re-start the computer, and then once it restarted tried to
re-open my Outlook Express. It took a long time, but when it...
|
by: =?Utf-8?B?Q2hhcmxlcw==?= |
last post by:
Like many people, I normally use Yahoo! Mail via the web and like to keep all
my emails stored on the Yahoo! server. However sometimes I can’t get access
to a PC/the web and I download my emails to a PDA/palmtop via POP3. The PDA
uses Windows Mobile software. Since using the PDA, I have had the problem of
emails disappearing from the Yahoo! server. However I think I now understand
how to avoid this.
It seems that Windows Mobile is...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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,...
| |
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...
|
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,...
|
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...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |