cancel
Showing results for 
Search instead for 
Did you mean: 

send mail via script

Community Manager

Re: send mail via script

Hi @m_Ghorbani,

 

I agree with the previous replies that this error is related to the email settings. Please check all of them one more time, especially because you use the Microsoft Exchange email address. You can start with this:

https://docs.microsoft.com/en-us/exchange/troubleshoot/connecting-to-the-service/incorrect-settings

 

 

---------
Tanya Gorbunova
SmartBear Community Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓
Highlighted
Contributor

Re: send mail via script

@TanyaGorbunova  Thanks for your Tip :-)

Contributor

Re: send mail via script

Good day!

after oppening the Port I get thise Error: (confused)Smiley Sad

 

'The server has rejected the sender address. The server answer is: 530 5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM [AM3PR07CA0054.eurprd07.prod.outlook.com] '

but I can send mail with other Programs 

Community Manager

Re: send mail via script

Hi @m_Ghorbani,

I've found this solution. Please check if the settings listed there help you.

---------
Tanya Gorbunova
SmartBear Community Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓
Contributor

Re: send mail via script

@TanyaGorbunovaThank you but not working. I use a Test Tools. please see a Photo.

Contributor

Re: send mail via script

Update, Now I get this Error:

Error: SMTP protocol error. 530 5.7.0 Must issue a STARTTLS command first.
Failed to send messageConnecting to mail server.

Maybe sombody have Idee

Community Hero

Re: send mail via script

Hi,

 

Something that sounds quite similair was asked and replied here locally. The problem was with the .Net SMTP client code for gmail, but maybe the same case exists for Microsoft as well.

 

Question:

I have an issue when trying to send an email from a customer’s email account from G Suite.

I receive an exceptions with the following message returned:
System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Authentication Required. Learn more at

Yes, the message end abruptly for some reason.

Found solution:

The issue was resolved.

The reason of access deny was that app-specific passwords work only when two-factor authentication is enabled, and for this account two-factor authentication was disabled today some time ago. So, my app password was not valid anymore.

 

Regards,
Alex
[Community Expert Group]
____
[Community Expert Group] members are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Postings made by [Community Expert Group] members
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================
Contributor

Re: send mail via script

@AlexKarasHi and thanks for your Reply.

 

in my case, that appear because the Hosting department blockiert the port 25. Now the port is open.

 

I can send mail with other program but just with TC, I get this error. :-(