Dave,
1) and 2) need me to download applications and we can't do that. When attempting to use CDO using the following code:
Sub CDO_Mail_Small_Text()
Dim iMsg As Object
Dim iConf As Object
Dim strbody As String
' Dim Flds As Variant
Set iMsg = CreateObject("CDO.Message"
Set iConf = CreateObject("CDO.Configur
' iConf.Load -1 ' CDO Source Defaults
' Set Flds = iConf.Fields
' With Flds
' .Item("http://schemas.micr
' .Item("http://schemas.micr
' = "Fill in your SMTP server here"
' .Item("http://schemas.micr
' .Update
' End With
strbody = "Hi there" & vbNewLine & vbNewLine & _
"This is line 1" & vbNewLine & _
"This is line 2" & vbNewLine & _
"This is line 3" & vbNewLine & _
"This is line 4"
With iMsg
Set .Configuration = iConf
.To = "paggarwala@board.com"
.CC = ""
.BCC = ""
.From = """Piyush"" <paggarwala@board.com>"
.Subject = "Important message"
.TextBody = strbody
.Send
End With
End Sub
I receive the message: "The SendUsing Configuration is Invalid" on the line .Send below .TextBody = strbody.
Any idea why?
Main Topics
Browse All Topics





by: brettdjPosted on 2008-09-24 at 13:51:10ID: 22563876
The normal two ways around this with Outlook are m/express- clickyes/ emption/
do.htm
1) Click Yes, http://www.contextmagic.co
2) the Redemption library, http://www.dimastr.com/red
If you can't download anything then I suggest you try CDO - it bypasses Outlook, see http://www.rondebruin.nl/c
Cheers
Dave