Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Message does not get sent - Problems on CDO or STMP Configuration

Status
Not open for further replies.

TrekFan

Programmer
Apr 23, 2003
25
CR
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










 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top