|
|
Question : SMTP : The server rejected one or more recipient addresses
|
|
Hi,
i am facing problem by sending mail using SMTP by below code,
******************************************************************** Set objEmail = CreateObject("CDO.Message") objEmail.From = "[email protected]" objEmail.To = strkey5 objEmail.Subject = strsubject objEmail.Textbody = TextToBeEmailed objEmail.Configuration.Fields.Item _ ("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 objEmail.Configuration.Fields.Item _ ("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "xxxxxxxxx.com" objEmail.Configuration.Fields.Item _ ("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25 objEmail.Configuration.Fields.Update objEmail.Send
**********************************************************************
The following error i am getting as "The server rejected one or more recipient addresses. The server response was: 550 5.7.1 ... Relaying denied"
please help me out,
Thx in advance Prakash
|
Answer : SMTP : The server rejected one or more recipient addresses
|
|
Relaying denied is your answer.
The mail server you are trying to sent mail through does not allow you to send mail with the from mail account you are using..
|
|
|
|