How to send emails from A97 wihout opening Outlook.
Author |
Message |
Fred D'Amic #1 / 8
|
 How to send emails from A97 wihout opening Outlook.
Hi, I'm working on a company scheduling DB on A97. What I would like to do is to have Access automatically send a reminder e-mail to the customer a few days prior an appointment. I tried a few things but Outlook always get's opened up and requires user intervention. Is it possible to send emails directly from A97 without opening another software ? Thanks, -- Fred D'Amico ____________________________________ E-Merge Web Development >>> www.E-Merge.qc.ca Quote: > Web Design and Hosting > Online Database Applications > Digital Imaging for Online and Print use > Search Engine Ranking Optimization
|
Mon, 29 Aug 2005 03:53:14 GMT |
|
 |
GreySk #2 / 8
|
 How to send emails from A97 wihout opening Outlook.
The short answer is Yes, you can bypass Outlook and MAPI altogether for that matter. Before investigating this route, I would recommend exhausting attempts to fix your current method. For example, I have used A97 to send emails that did not require user intervention. Could you please post the code that is offending? If your real issue is additional user intervention, we can probably wiggle around that. -------------- If, on the other hand, you are looking for a fully integrated email solution, I have one you could use. I replied to another user who might need a custom non-MAPI solution, and I've copied the guts of it below -- -------------- I DO have a version that talks directly to an SMTP server, bypassing MAPI altogether (but doesn't have firewall support). If you are interested in this version, email me
My emailer was built as a stand-alone marketing tool for use with one of my contact databases. The need was for the ability to send full-featured HTML emails, with merge fields replaced with data from the database. For example, <<FullName>> was replaced with the contact's full name, pictures were embedded in the HTML document, and an Excel spreadsheet was sent along as an attachment. I have a VB stand-alone version, and a version that uses MS Word to build the file (VBA to execute it). In the VB stand-alone, you build the HTML document you want to send and also the text-only version that is sent as well. In the MS Word version, you build the HTML version using Word, and the VBA tells Word to save the document as a text file, and that is sent as the text-only version. The VB-only version gives total control over the HTML and text- only versions, but the MS Word version is easier to use. I've included a kitchen sink with a hose sprayer in this emailer, and as a result I know more about SMTP and MIME than I ever wanted to (and I'm a curious kind of guy). Some of the specs: --Sends an HTML Version as well as a text-only version for lowbie email readers (like AOL *ahem*) --Ability to send multiple attachments --Uses a database table to supply email addresses --Uses the database table to replace strings within the document delimited with special character sequences (e.g., << and >>). --Uses Windows sockets to communicate directly with an SMTP server --Builds a log of results --Uses base64 encoding and quoted-printable encoding. --Finds pictures within the HTML document, and automatically encodes and sends them with the email (base64 encoding with appropriate MIME delimiters) --Identifies pictures sent as links to www servers, and sends them as links (smaller email for faster download, receiver's email browser then downloads the linked picture) This emailer is not a toy. Let me know if this is really what you need. David Atkins, MCP
|
Mon, 29 Aug 2005 04:29:03 GMT |
|
 |
Fred D'Amic #3 / 8
|
 How to send emails from A97 wihout opening Outlook.
Hi Greg, Your e-mailer sounds great ! I didn't get very far trying to use Access directly. I basically looked in the help and didn't find much expect the sendObject, which called Outlook. How did you use A97 to send e-mails directly ? Basically, what I want to set-up is a system which, on a daily basis verifies in my customer DB who has an appointment in X days from now. I then want to send a standard reminder to these people. We have 10 trucks on the road, each with 8-12 calls per day so it's important that these 80-120 messages be sent in the background without Outlook and MAPI. Any suggestions would be extremely helpful as I really have no idea where to start. Thanks for your help and time, Fred D'amico
Quote: > The short answer is Yes, you can bypass Outlook and MAPI > altogether for that matter. > Before investigating this route, I would recommend > exhausting attempts to fix your current method. For > example, I have used A97 to send emails that did not > require user intervention. > Could you please post the code that is offending? If your > real issue is additional user intervention, we can > probably wiggle around that. > -------------- > If, on the other hand, you are looking for a fully > integrated email solution, I have one you could use. I > replied to another user who might need a custom non-MAPI > solution, and I've copied the guts of it below -- > -------------- > I DO have a version that talks directly to an SMTP server, > bypassing MAPI altogether (but doesn't have firewall > support). If you are interested in this version, email me
> My emailer was built as a stand-alone marketing tool for > use with one of my contact databases. The need was for > the ability to send full-featured HTML emails, with merge > fields replaced with data from the database. For example, > <<FullName>> was replaced with the contact's full name, > pictures were embedded in the HTML document, and an Excel > spreadsheet was sent along as an attachment. > I have a VB stand-alone version, and a version that uses > MS Word to build the file (VBA to execute it). In the VB > stand-alone, you build the HTML document you want to send > and also the text-only version that is sent as well. In > the MS Word version, you build the HTML version using > Word, and the VBA tells Word to save the document as a > text file, and that is sent as the text-only version. The > VB-only version gives total control over the HTML and text- > only versions, but the MS Word version is easier to use. > I've included a kitchen sink with a hose sprayer in this > emailer, and as a result I know more about SMTP and MIME > than I ever wanted to (and I'm a curious kind of guy). > Some of the specs: > --Sends an HTML Version as well as a text-only version for > lowbie email readers (like AOL *ahem*) > --Ability to send multiple attachments > --Uses a database table to supply email addresses > --Uses the database table to replace strings within the > document delimited with special character sequences (e.g., > << and >>). > --Uses Windows sockets to communicate directly with an > SMTP server > --Builds a log of results > --Uses base64 encoding and quoted-printable encoding. > --Finds pictures within the HTML document, and > automatically encodes and sends them with the email > (base64 encoding with appropriate MIME delimiters) > --Identifies pictures sent as links to www servers, and > sends them as links (smaller email for faster download, > receiver's email browser then downloads the linked picture) > This emailer is not a toy. Let me know if this is really > what you need. > David Atkins, MCP
|
Mon, 29 Aug 2005 05:13:27 GMT |
|
 |
GreySk #4 / 8
|
 How to send emails from A97 wihout opening Outlook.
"How did you use A97 to send e-mails directly ?" The short answer is: By connecting to the email server (e.g., mail.bellsouth.net) and speaking its language. I'll wrap my VB version into a COM object to make it easier to use. We'll need to communicate by email, and I'll commit to having the COM object ready for Friday (the 14th). I've wanted to wrap this code in COM for two years -- time to get it done! Just promise to post the result to the newsgroup to help others who many need it. David Atkins, MCP
|
Mon, 29 Aug 2005 05:51:46 GMT |
|
 |
Fred D'Amic #5 / 8
|
 How to send emails from A97 wihout opening Outlook.
Hi, Thanks for the help ! I would be more than happy to share information here to help others, just as you are generously help me ! Thanks again, Fred
Quote: > "How did you use A97 to send e-mails directly ?" > The short answer is: By connecting to the email server > (e.g., mail.bellsouth.net) and speaking its language. > I'll wrap my VB version into a COM object to make it > easier to use. We'll need to communicate by email, and > I'll commit to having the COM object ready for Friday (the > 14th). I've wanted to wrap this code in COM for two > years -- time to get it done! > Just promise to post the result to the newsgroup to help > others who many need it. > David Atkins, MCP
|
Mon, 29 Aug 2005 23:11:05 GMT |
|
 |
Michae #6 / 8
|
 How to send emails from A97 wihout opening Outlook.
Hello ! I am working with a VERY similar problem, and any help you could lend would be VERY much appreciated ! I am trying to send an email, from an Access2000 database, "behind the scenes". With SQL, I would have merely generated a SendMail and let the Exchange client on the Server handle it. This time however, I am trying to get Access 2000 to send out an email, describing that a record has been added to the database. The users have Outlook on their desktop, but I would prefer to bypass their outlook profile, and have Exchange(?) send it, perhaps using a profile for it's (database's) use only. Is this even possible ? Can your emailer code help me with this ? If not, can you point me in a direction that will assist me ? Thanks in advance, for any help you can lend. I'm against a wall on this. Michael. Quote: >-----Original Message----- >Hi Greg, >Your e-mailer sounds great ! >I didn't get very far trying to use Access directly. I basically looked in >the help and didn't find much expect the sendObject,
which called Outlook. Quote: >How did you use A97 to send e-mails directly ? >Basically, what I want to set-up is a system which, on a daily basis >verifies in my customer DB who has an appointment in X
days from now. I then Quote: >want to send a standard reminder to these people. We have 10 trucks on the >road, each with 8-12 calls per day so it's important that these 80-120 >messages be sent in the background without Outlook and MAPI. >Any suggestions would be extremely helpful as I really
have no idea where to Quote: >start. >Thanks for your help and time, >Fred D'amico
>> The short answer is Yes, you can bypass Outlook and MAPI >> altogether for that matter. >> Before investigating this route, I would recommend >> exhausting attempts to fix your current method. For >> example, I have used A97 to send emails that did not >> require user intervention. >> Could you please post the code that is offending? If your >> real issue is additional user intervention, we can >> probably wiggle around that. >> -------------- >> If, on the other hand, you are looking for a fully >> integrated email solution, I have one you could use. I >> replied to another user who might need a custom non-MAPI >> solution, and I've copied the guts of it below -- >> -------------- >> I DO have a version that talks directly to an SMTP server, >> bypassing MAPI altogether (but doesn't have firewall >> support). If you are interested in this version, email me
>> My emailer was built as a stand-alone marketing tool for >> use with one of my contact databases. The need was for >> the ability to send full-featured HTML emails, with merge >> fields replaced with data from the database. For example, >> <<FullName>> was replaced with the contact's full name, >> pictures were embedded in the HTML document, and an Excel >> spreadsheet was sent along as an attachment. >> I have a VB stand-alone version, and a version that uses >> MS Word to build the file (VBA to execute it). In the VB >> stand-alone, you build the HTML document you want to send >> and also the text-only version that is sent as well. In >> the MS Word version, you build the HTML version using >> Word, and the VBA tells Word to save the document as a >> text file, and that is sent as the text-only version. The >> VB-only version gives total control over the HTML and text- >> only versions, but the MS Word version is easier to use. >> I've included a kitchen sink with a hose sprayer in this >> emailer, and as a result I know more about SMTP and MIME >> than I ever wanted to (and I'm a curious kind of guy). >> Some of the specs: >> --Sends an HTML Version as well as a text-only version for >> lowbie email readers (like AOL *ahem*) >> --Ability to send multiple attachments >> --Uses a database table to supply email addresses >> --Uses the database table to replace strings within the >> document delimited with special character sequences (e.g., >> << and >>). >> --Uses Windows sockets to communicate directly with an >> SMTP server >> --Builds a log of results >> --Uses base64 encoding and quoted-printable encoding. >> --Finds pictures within the HTML document, and >> automatically encodes and sends them with the email >> (base64 encoding with appropriate MIME delimiters) >> --Identifies pictures sent as links to www servers, and >> sends them as links (smaller email for faster download, >> receiver's email browser then downloads the linked picture) >> This emailer is not a toy. Let me know if this is really >> what you need. >> David Atkins, MCP >.
|
Tue, 30 Aug 2005 04:09:25 GMT |
|
 |
GreySk #7 / 8
|
 How to send emails from A97 wihout opening Outlook.
I spent last night (the 12th) working on making it into a COM object (VB ActiveX EXE), and otherwise converting it from the monolithic architecture it lives in today. I fully expect to have both a functioning A2K version and VB COM EXE tonight. I'll get in touch with you via email tomorrow. David Atkins, MCP
|
Tue, 30 Aug 2005 05:03:56 GMT |
|
 |
User #8 / 8
|
 How to send emails from A97 wihout opening Outlook.
If you are running Windows 2K, and using smtp mail you can use CDOSYS "CDO for Windows 2000, sometimes referred to as CD0 2.0 or CDOSYS.DLL, is designed to provide an object model for the development of messaging applications on Windows 2000. CDOSYS is based on the Simple Mail Transfer Protocol (SMTP) and Network News Transfer Protocol (NNTP) standards and is available as a system component on Microsoft Windows 2000 Server installations. It is the standard API for building bulk-mailing/Web-based messaging applications on Windows 2000 Server."
Quote: > Hi, > Thanks for the help ! > I would be more than happy to share information here to help others, just as > you are generously help me ! > Thanks again, > Fred
> > "How did you use A97 to send e-mails directly ?" > > The short answer is: By connecting to the email server > > (e.g., mail.bellsouth.net) and speaking its language. > > I'll wrap my VB version into a COM object to make it > > easier to use. We'll need to communicate by email, and > > I'll commit to having the COM object ready for Friday (the > > 14th). I've wanted to wrap this code in COM for two > > years -- time to get it done! > > Just promise to post the result to the newsgroup to help > > others who many need it. > > David Atkins, MCP
|
Tue, 30 Aug 2005 15:54:32 GMT |
|
|
|