Hi there,
I m using the "CDO.Message" object on Windows 2000 Server to create an email from a component called from an asp. Basically the code is
Dim oEMail As Object
Set oEMail = CreateObject("CDO.Message")
With oEMail
'Load IIS configuration
.Configuration.Load cdoIIS
'Set email adress, subject And body
.From = pFrom
.To = pTo
.Subject = pSubject
.TextBody = pBody
If pAttachmentFileName <> "" Then
.AddAttachment pAttachmentFileName
End If
'Send the message
.Send
End With
I get no error .... and the messages appears on
c:\inetpub\mailroot\queue
But it doesn't get sent .. it just stays there ... (i already found a property that limits mail size on the stmp and disable it)
Any help / suggestions would be helpful !
Thanks
I m using the "CDO.Message" object on Windows 2000 Server to create an email from a component called from an asp. Basically the code is
Dim oEMail As Object
Set oEMail = CreateObject("CDO.Message")
With oEMail
'Load IIS configuration
.Configuration.Load cdoIIS
'Set email adress, subject And body
.From = pFrom
.To = pTo
.Subject = pSubject
.TextBody = pBody
If pAttachmentFileName <> "" Then
.AddAttachment pAttachmentFileName
End If
'Send the message
.Send
End With
I get no error .... and the messages appears on
c:\inetpub\mailroot\queue
But it doesn't get sent .. it just stays there ... (i already found a property that limits mail size on the stmp and disable it)
Any help / suggestions would be helpful !
Thanks