Page 1 of 1

EXEC_SEND_EMAIL

Posted: 12 Jan 2015 10:23
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.

Re: EXEC_SEND_EMAIL

Posted: 12 Jan 2015 12:54
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...

Re: EXEC_SEND_EMAIL

Posted: 12 Jan 2015 17:19
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.

Re: EXEC_SEND_EMAIL

Posted: 12 Jan 2015 17:47
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.

Re: EXEC_SEND_EMAIL

Posted: 12 Jan 2015 19:36
by amaurydixx
This is 2 screenshots...

Re: EXEC_SEND_EMAIL

Posted: 12 Jan 2015 20:49
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.

Re: EXEC_SEND_EMAIL

Posted: 13 Jan 2015 14:16
by amaurydixx
With port 587 it works fine!

Thank you...