Can any one guide me how to fix this issue "SendFailedException message: 
501 5.1.7 Invalid address" ?

Test email was success but fails with error when i execute the build.


Regards,
Ujjawal

On Friday, 4 January 2019 14:02:13 UTC+5:30, Ujjawal Khare wrote:
>
> Hello,
>
> Me too facing same issue. Test mail works fine but when run build, i get 
> "Error sending mail to following valid...".
>
> @Jim: When  you say you used local server did you mean you configured any 
> email client ?
>
> Can you please guide me in this direction ?
>
>
> Regards,
> Ujjawal
>
> On Tuesday, 18 September 2018 17:54:10 UTC+5:30, ayuoj...@gmail.com wrote:
>>
>> Jim,
>>
>> Did you find anything other than changing smtp value. I am facing same 
>> issue and got only one smtp. All my test emails are working but its 
>> throwing error once build done in jenkins. 
>>
>> On Wednesday, July 16, 2014 at 5:08:15 AM UTC+5:30, Jim Lloyd wrote:
>>>
>>> I have managed to find a combination that seems to work. I stopped using 
>>> the outlook based smtp server and simply used the default server running on 
>>> the localhost, and one email was successfully delivered. Note that we have 
>>> been using the outlook smtp server continuously for months, and all sent 
>>> multiple test emails through it today, yet that was the only thing I 
>>> changed in order to get a successful email. I'll do some more testing and 
>>> reply back if I learn anything more specific about the underlying problem. 
>>>
>>>
>>> On Tue, Jul 15, 2014 at 3:23 PM, Slide <slide...@gmail.com> wrote:
>>>
>>>> Ok, let's start over with this. The server is sending back a response 
>>>> that says that engineering_p...@redsealnetworks.com is invalid, but 
>>>> JavaMail thinks the address is valid. This can happen when either the 
>>>> sender or recipient is invalid, can you try the -Dmail.debug=true option 
>>>> that I mentioned? Also, can you post your global config.xml file (after 
>>>> you 
>>>> scrub it for company information). 
>>>>
>>>>
>>>> On Tue, Jul 15, 2014 at 2:31 PM, Jim Lloyd <jim....@gmail.com> wrote:
>>>>
>>>>> I don't think that is the problem. I can send test emails from Jenkins 
>>>>> using the "Test configuration by sending test e-mail" setting under 
>>>>> the global setting for E-mail Notification. And I can also send 
>>>>> emails from the machine without authentication using the mailx command:
>>>>>
>>>>> mailx -s "Testing 1,2,3" -S smtp=smtp://smtp.ourcompany.com:25 < 
>>>>> test.txt
>>>>>
>>>>> Where the smtp.ourcompany.com address is the same address configured 
>>>>> in jenkins.
>>>>>
>>>>> Finally, we have had emails work in the past. The problems have all 
>>>>> come after upgrading Jenkins and various plugins in order to be able to 
>>>>> use 
>>>>> Git, which was not supported on the ancient version of Jenkins that we 
>>>>> were 
>>>>> previously using. Even after the upgrade, we were able to have some mails 
>>>>> delivered, albeit there were other problems. For more info, see the 
>>>>> thread 
>>>>> I started on June 13th:
>>>>>
>>>>> https://groups.google.com/forum/#!topic/jenkinsci-users/eZQsgfCSYM4
>>>>>
>>>>>
>>>>> On Tue, Jul 15, 2014 at 2:12 PM, Richard Bywater <ric...@byh2o.com> 
>>>>> wrote:
>>>>>
>>>>>> I would start by asking the group who administers the SMTP server you 
>>>>>> are talking to. Given that the Invalid Address error is being returned 
>>>>>> by 
>>>>>> the server, perhaps there is some policy in place on the SMTP server 
>>>>>> that 
>>>>>> prevents you sending to that address?
>>>>>>
>>>>>> Richard.
>>>>>>
>>>>>>
>>>>>> On Wed, Jul 16, 2014 at 5:29 AM, Jim Lloyd <jim....@gmail.com> wrote:
>>>>>>
>>>>>>> We have a Jenkins installation that has undergone several changes in 
>>>>>>> the last couple months as we transition from using Perforce to using 
>>>>>>> Git as 
>>>>>>> our SCM. We've had numerous problems with email-ext during the 
>>>>>>> transition, 
>>>>>>> but we may be getting close to a solution.
>>>>>>>
>>>>>>> We're currently using the most recent LTS build (v1.554.3) and 
>>>>>>> latest email-ext (v2.38.1). The error that is preventing Build Result 
>>>>>>> email 
>>>>>>> now is rather strange:
>>>>>>>
>>>>>>> Adding recipients from project recipient list
>>>>>>> Adding recipients from trigger recipient list
>>>>>>> Successfully created MimeMessage
>>>>>>> Sending email to: engineering_p...@redsealnetworks.com
>>>>>>> Error sending to the following VALID addresses: 
>>>>>>> engineering_p...@redsealnetworks.com
>>>>>>> SendFailedException message: 501 5.1.7 Invalid address
>>>>>>>
>>>>>>>
>>>>>>> The listed recipient email address is definitely valid. I suppose 
>>>>>>> the error might be indicating that the sender email address is invalid, 
>>>>>>> but 
>>>>>>> it's not obvious to me how to follow up on that hypothesis. Can anyone 
>>>>>>> help?
>>>>>>>
>>>>>>> -- 
>>>>>>> You received this message because you are subscribed to the Google 
>>>>>>> Groups "Jenkins Users" group.
>>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>>> send an email to jenkinsci-use...@googlegroups.com.
>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>
>>>>>>
>>>>>> -- 
>>>>>> You received this message because you are subscribed to a topic in 
>>>>>> the Google Groups "Jenkins Users" group.
>>>>>> To unsubscribe from this topic, visit 
>>>>>> https://groups.google.com/d/topic/jenkinsci-users/uTCRSeOVME4/unsubscribe
>>>>>> .
>>>>>> To unsubscribe from this group and all its topics, send an email to 
>>>>>> jenkinsci-use...@googlegroups.com.
>>>>>>
>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>
>>>>>
>>>>> -- 
>>>>> You received this message because you are subscribed to the Google 
>>>>> Groups "Jenkins Users" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>>> an email to jenkinsci-use...@googlegroups.com.
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>>
>>>>
>>>> -- 
>>>> Website: http://earl-of-code.com 
>>>>
>>>> -- 
>>>> You received this message because you are subscribed to a topic in the 
>>>> Google Groups "Jenkins Users" group.
>>>> To unsubscribe from this topic, visit 
>>>> https://groups.google.com/d/topic/jenkinsci-users/uTCRSeOVME4/unsubscribe
>>>> .
>>>> To unsubscribe from this group and all its topics, send an email to 
>>>> jenkinsci-use...@googlegroups.com.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/c2c82f88-07a9-4a01-806c-41f2db1806ea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to