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 / Modules / DAO / VBA / March 2008

Tip: Looking for answers? Try searching our database.

CDOS from Acccess

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
SHIPP - 25 Mar 2008 21:53 GMT
I am using the following code to attempt to send an email message.

   Set MailObj = CreateObject("CDO.Message")
   MailObj.To = "mikeshipp@aol.com"
   MailObj.From = "mlyst@contracosta.courts.ca.gov"
   MailObj.Subject = "Test message"
   Text = "Thank you for your submission." & Chr(13) & Chr(10)
   Text = Text & "Your request is being processed." & Chr(13) & Chr(10)
   Text = Text & "Please allow 48 hours for a response."
   MailObj.TextBody = Text
   MailObj.Send
   Set MailObj = Nothing

It errors out on the MailObj.Send line. The error is....

the SendUsing Configuration value is invalid.

Any help is greatly appreciated. Thank you.

Signature

M. Shipp

Ken Warthen - 26 Mar 2008 22:03 GMT
Shipp,

You might want to try using

DoCmd.SendObject

As long as you're not using any attachments it will probably meet your
needs.  If you use Outlook as your email client you can create more
sophisticated emailing from within Access.

Ken Warthen
kenwarthen@gmail.com

> I am using the following code to attempt to send an email message.
>
[quoted text clipped - 14 lines]
>
> Any help is greatly appreciated. Thank you.
 
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.