ComicBookGuy
Registered User.
- Local time
- Today, 15:27
- Joined
- Mar 5, 2014
- Messages
- 30
Hi,
I have Access 2013, Win 7, Outlook 2010 (32-bit).
I want to send an email from Access, but not through Outlook. Instead I want to connect to an external SMTP server. I've found a few examples that doesn't work for me.
With code including for example
I get an "Error 429: Object can't be created in Active X-component" (My translation from Swedish).
With code including this:
I get "user defined type has not been defined" (my translation again).
I have working code for sending email through Outlook, which works fine. But, Outlook adds a lot of span tags, making it impossible to read for certain screen readers used by visually impaired people, therefore I can't use Outlook.
I've tried to read up on the matter (CDO), and think that maybe the CDO library etc is not included on my computer? Is this correct? In that case, can I download it? Or is the problem something else?
Thankful for any pointers.
Martin
I have Access 2013, Win 7, Outlook 2010 (32-bit).
I want to send an email from Access, but not through Outlook. Instead I want to connect to an external SMTP server. I've found a few examples that doesn't work for me.
With code including for example
Code:
Set ObjMessage = CreateObject("CDO.Message")
With code including this:
Code:
Dim oEMail As New CDONTS.EMail
I have working code for sending email through Outlook, which works fine. But, Outlook adds a lot of span tags, making it impossible to read for certain screen readers used by visually impaired people, therefore I can't use Outlook.
I've tried to read up on the matter (CDO), and think that maybe the CDO library etc is not included on my computer? Is this correct? In that case, can I download it? Or is the problem something else?
Thankful for any pointers.
Martin