I got the following code from Paul Sadowski's web page.
Dim objMessage as object
Set objMessage = CreateObject("CDO.Message")
objMessage.Subject = Me.Subject
objMessage.From = "MikeShipp@aol.com"
objMessage.To = strTo
objMessage.TextBody = strEMsg
objMessage.AddAttachment "c:\temp\readme.txt"
objMessage.Send
When I run it I get the following error:
The "Send Using" configuration value is invalid.
at the following line of code.
objMessage.Send
Any help would be appreciated. I am using
Access 2003. The reason I need to go in this
direction is because I need to send an attachment
through an email program other than Outlook.
Thanks in advance for your help.
SteveM - 27 Sep 2007 02:23 GMT
Are you on Exchange Server?
The CDO code is slightly different...
Steve
> I got the following code from Paul Sadowski's web page.
>
[quoted text clipped - 21 lines]
> through an email program other than Outlook.
> Thanks in advance for your help.
SHIPP - 27 Sep 2007 14:53 GMT
No.

Signature
M. Shipp
> Are you on Exchange Server?
>
[quoted text clipped - 27 lines]
> > through an email program other than Outlook.
> > Thanks in advance for your help.
Alex Dybenko - 27 Sep 2007 05:50 GMT
Hi,
you need to specify configuration, look here:
http://support.microsoft.com/kb/302839/en-us
http://support.microsoft.com/kb/816789/en-us
http://support.microsoft.com/kb/555287/en-us

Signature
Best regards,
___________
Alex Dybenko (MVP)
http://alexdyb.blogspot.com
http://www.PointLtd.com
>I got the following code from Paul Sadowski's web page.
>
[quoted text clipped - 21 lines]
> through an email program other than Outlook.
> Thanks in advance for your help.