chirag2239
Member level 3
Hi all,
I am working on a script which is supposed to send a mail to outlook using shell scripting. In my company, outlook is used for sending and receiving mails.
Now, I am allocated a task to generate the build report and send it to the module owner for paying their attention. I am able to generate the build report, but while sending a mail, it ask for the authentication and due to that, authentication failure message is returned and stops there. Please note, I have not entered the OTP or any response to log in and even though it is showing authentication failure. It asks for either OTP or access using MS Authenticator app. By using this, I can have an access to my email account and then I can send a mail.
Can anyone guide me how to send a mail with such applications and authentication by shell scripting? How can I capture the response of MS Authenticator app in shell scripting or how can I make OTP authentication with the shell scripting?
Thanks in advance.
Chirag
I am working on a script which is supposed to send a mail to outlook using shell scripting. In my company, outlook is used for sending and receiving mails.
Now, I am allocated a task to generate the build report and send it to the module owner for paying their attention. I am able to generate the build report, but while sending a mail, it ask for the authentication and due to that, authentication failure message is returned and stops there. Please note, I have not entered the OTP or any response to log in and even though it is showing authentication failure. It asks for either OTP or access using MS Authenticator app. By using this, I can have an access to my email account and then I can send a mail.
Can anyone guide me how to send a mail with such applications and authentication by shell scripting? How can I capture the response of MS Authenticator app in shell scripting or how can I make OTP authentication with the shell scripting?
Thanks in advance.
Chirag