Re: Unable to create CDO.Message for Workflow application
- From: "Mad Dog" <simon.breeze@xxxxxxxxxxxxxx>
- Date: 25 Aug 2005 01:54:14 -0700
Anoop,
This is the code I use to send a message from the Workflow Sink
It doesnt have all the configuration code you use and works fine
providing the to and from are valid
**
Set oMsg = CreateObject("CDO.Message")
oMsg.To = strTo
oMsg.From = WorkflowSession.Sender
oMsg.Subject = strSubject
oMsg.HTMLBody = "<html><body>" & strBody & "</body></html>"
oMsg.Send
**
(I use HTMLBody because it is easier to include a link.)
If the above code still gives you the same error then check you have
ADO (MDAC) installed. Sounds bizarre but CDO relies on ADO being
present. I once got your error when trying to send a message from a
server that did not have ADO.
.
- Follow-Ups:
- Re: Unable to create CDO.Message for Workflow application
- From: talk_positive
- Re: Unable to create CDO.Message for Workflow application
- References:
- Unable to create CDO.Message for Workflow application
- From: talk_positive
- Unable to create CDO.Message for Workflow application
- Prev by Date: Workflow - WorkflowSession.Sender: Cannot obtain SMTP address for current user
- Next by Date: EVT_SYNC_COMMITTED fires twice
- Previous by thread: Unable to create CDO.Message for Workflow application
- Next by thread: Re: Unable to create CDO.Message for Workflow application
- Index(es):