EXEC_SEND_EMAIL

You have a question or need an advice about how to do something? Ask it here!
Post Reply
amaurydixx
Posts: 41
Joined: 18 Dec 2013 17:41
EXEC_SEND_EMAIL

Post by amaurydixx »

Hi,

I created a new streaming server (Shoutcast V2) and I'm regularly disconnected.
I would like to receive an email each case a disconnexion happens.

I tried to use the streaming control commands pannel and the "On disconnected" "EXEC_SEND_EMAIL" command but it doesn't work.
I don't receive any email.

Thank you.
User avatar
radio42
Site Admin
Posts: 9010
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: EXEC_SEND_EMAIL

Post by radio42 »

Probably because you did not setup the mail settings correctly in the general settings; see section 'General/Audio' in the 'Application' group, click on the 'Mail Settings...' button.
In the upcoming dialog you need to enter your mail server settings (mainly your email SMTP Server and Port) and credentials (username/password to authorize to your mail server)!
After that it should work...
amaurydixx
Posts: 41
Joined: 18 Dec 2013 17:41
Re: EXEC_SEND_EMAIL

Post by amaurydixx »

Yes...the configuration is right...
But i can't set authentication with smtp...
Is it the problem?

Is it necessaty to use ' ou " in the parameters of the command?

Thank you.
User avatar
radio42
Site Admin
Posts: 9010
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: EXEC_SEND_EMAIL

Post by radio42 »

I am not sure what you mean by " ou "?
Can you please show me your full control-command you are using...!

Here is an example:
EXEC_SEND_EMAIL [email protected]|[email protected]|Test|This is a test message.
amaurydixx
Posts: 41
Joined: 18 Dec 2013 17:41
Re: EXEC_SEND_EMAIL

Post by amaurydixx »

This is 2 screenshots...
Attachments
mail2.png
mail2.png (20.23 KiB) Viewed 8602 times
mail.png
mail.png (6.57 KiB) Viewed 8602 times
User avatar
radio42
Site Admin
Posts: 9010
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: EXEC_SEND_EMAIL

Post by radio42 »

GMail sometimes handle things a bit different, so I can not clearly tell you what might be wrong, but there are a few things to check/try:

a) first try port 587 instead of 465!
this probably will already solve your issue.

b) if you have enabled two-factor authentication (also known as two-step verification) on your GMail account, you must generate an application-specific password and use that newly generated password to authenticate via SMTP. To create one, visit: https://www.google.com/settings/ and choose Authorizing applications & sites to generate the password.
amaurydixx
Posts: 41
Joined: 18 Dec 2013 17:41
Re: EXEC_SEND_EMAIL

Post by amaurydixx »

With port 587 it works fine!

Thank you...

Post Reply