hi ,
i'ave tried that solution but the thing is that i'm getting
message sent message
but the mail is received in my mail account.
what might be the problem ?how to solve it?
<%
Set objEMail = Server.CreateObject("CDO.Message")
Set objConfig = Server.CreateObject("CDO.Configuration")
Set Confi = objConfig.Fields
Confi("http://schemas.microsoft.com/cdo/configuration/sendusing") = 1
Confi("http://schemas.microsoft.com/cdo/configuration/smtpserverpickupdirectory") = "C:\inetpub\mailroot\pickup"
Confi.Update
Set objEMail.Configuration = objConfig
objEMail.To = "
[email protected]"
objEMail.From = "
[email protected]"
objEMail.Subject = "Test"
objEMail.TextBody = "This is a test mail"
objEMail.Send
Set objEMail = Nothing
Response.Write("Message Sent")
%>