Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 2 / June 2007

Tip: Looking for answers? Try searching our database.

How to send a HTML email using MAPI or CDO

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
vanleurth - 20 Jun 2007 00:43 GMT
I have found examples of code emailing using MAPI and/or CDO.

Apparently, CDO through smtp.yahoo.com doesn't allow to send multiple emails
at once. I loose the connection after sending 12 emails. Any ideas on that?

Also, if someone can let me know how can I send a html email using mapi
(MAPI32.DLL) not oe.dll library.

Thank you is advance,

V.

Signature

Desktop Solutions for Small Companies
http://www.micromango.com

dbahooker@hotmail.com - 20 Jun 2007 06:48 GMT
you should be using Access Data Projects and server-side email..
xp_sendmail

> I have found examples of code emailing using MAPI and/or CDO.
>
[quoted text clipped - 12 lines]
>
> Message posted via AccessMonster.comhttp://www.accessmonster.com/Uwe/Forums.aspx/access/200706/1
Scott McDaniel - 20 Jun 2007 11:04 GMT
>I have found examples of code emailing using MAPI and/or CDO.
>
>Apparently, CDO through smtp.yahoo.com doesn't allow to send multiple emails
>at once. I loose the connection after sending 12 emails. Any ideas on that?

I'm not sure, but I'd assume that yahoo is throttling this to reduce spam ... have you contacted yahoo about their
policies regarding use of their smtp server? You may not be able to do this ...

>Also, if someone can let me know how can I send a html email using mapi
>(MAPI32.DLL) not oe.dll library.

Here's an example of using MAPI with VB:
http://www.devarticles.com/c/a/Visual-Basic/Sending-Email-With-MAPI-Components-i
n-Visual-Basic/


Here's the VB SendMail DLL, which seems to be very popular:
http://www.freevbcode.com/ShowCode.asp?ID=7790

>Thank you is advance,
>
>V.

Scott McDaniel
scott@takemeout_infotrakker.com
www.infotrakker.com
vanleurth - 21 Jun 2007 23:58 GMT
Thank you for the links,

Now, I have been considering using the easy approach for now. to use
application.follow hyperlink with mailto: option.

The problem with this is that the strMail (string argument) that includes
"mailto: ... &body, etc " is very limited to length. Apparently application.
followhyperlink strMail doesn't allow a string (strMail) longer than 795
characters aprox.

Is this right?
Are this the limitations of using mailto: with followhyperlink?
Any useful links about a complete explanation of using this function;
followhyperlink ?

Please, Let me know
Thank you,
V.

>>I have found examples of code emailing using MAPI and/or CDO.
>>
[quoted text clipped - 20 lines]
>scott@takemeout_infotrakker.com
>www.infotrakker.com

Signature

Desktop Solutions for Small Companies
http://www.micromango.com

dbahooker@hotmail.com - 25 Jun 2007 01:46 GMT
wow I had no idea I could send emails through yahoo.

wow wow wow

I'm now a yahoo convert :)

> >I have found examples of code emailing using MAPI and/or CDO.
>
[quoted text clipped - 17 lines]
> Scott McDaniel
> scott@takemeout_infotrakker.comwww.infotrakker.com
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.