orangescrum-community icon indicating copy to clipboard operation
orangescrum-community copied to clipboard

Emails are not sending to user when creating new user or project, etc..,

Open watchraju opened this issue 10 years ago • 29 comments

Emails are not working

Thanks

watchraju avatar Oct 21 '14 05:10 watchraju

Hi, Which Email sending Option you are using?

Orangescrum avatar Oct 21 '14 05:10 Orangescrum

I am using Gmail and this is what I used

define("SMTP_HOST", "ssl://smtp.gmail.com"); define("SMTP_PORT", "465"); define("SMTP_UNAME", "[email protected]"); define("SMTP_PWORD", "****");

I tried using sendgrid.com and facing same issue.

Error Message: Error sending invotation link! On Tue, Oct 21, 2014 at 1:15 AM, Orangescrum [email protected] wrote:

Hi, Which Email sending Option you are using?

— Reply to this email directly or view it on GitHub https://github.com/Orangescrum/orangescrum/issues/50#issuecomment-59880039 .

watchraju avatar Oct 21 '14 05:10 watchraju

Hi, Did you enable the "php_openssl" in you PHP setting? In WAMP, you need to enable extension=php_openssl.dll on php.ini file.

Orangescrum avatar Oct 21 '14 06:10 Orangescrum

Yes I did add it in my php.inc file. Still it is not working On Oct 21, 2014 2:10 AM, "Orangescrum" [email protected] wrote:

Hi, Did you enable the "php_openssl" in you PHP setting? In WAMP, you need to enable extension=php_openssl.dll on php.ini file.

— Reply to this email directly or view it on GitHub https://github.com/Orangescrum/orangescrum/issues/50#issuecomment-59883363 .

watchraju avatar Oct 21 '14 06:10 watchraju

Is this a problem with creating new user or project. But create task emails are working?

Orangescrum avatar Oct 21 '14 06:10 Orangescrum

It is problem with everything. I was able to send email in previous version Thanks On Oct 21, 2014 2:14 AM, "Orangescrum" [email protected] wrote:

Is this a problem with creating new user or project. But create task emails are working?

— Reply to this email directly or view it on GitHub https://github.com/Orangescrum/orangescrum/issues/50#issuecomment-59883656 .

watchraju avatar Oct 21 '14 06:10 watchraju

Hi, Today we are releasing a patch to test the problem in Email sending. Thank you for your patient.

Orangescrum avatar Oct 21 '14 07:10 Orangescrum

Thank you so much! On Oct 21, 2014 3:34 AM, "Orangescrum" [email protected] wrote:

Hi, Today we are releasing a patch to test the problem in Email sending. Thank you for your patient.

— Reply to this email directly or view it on GitHub https://github.com/Orangescrum/orangescrum/issues/50#issuecomment-59889746 .

watchraju avatar Oct 21 '14 12:10 watchraju

Hi, We have released the new version 1.4.1 Please get the list of file changes here, https://github.com/Orangescrum/orangescrum/commit/1ea84958247ec6ae23c5549b5987e74f3f4a7fb6 After merging the latest 1.4.1 code, please run a test http://www.your-orangescrum.com/cron/test_email/?to=<Your_Email> The debugger will list out the problem in sending Email. If there is no such problem, you will get 2 Emails. Please run that and let us know the problem.

Orangescrum avatar Oct 22 '14 10:10 Orangescrum

I updated the file and here is the error message

php_openssl in php.ini is enabled

ssl://smtp.gmail.com:465 http://smtp.gmail.com:465 is not responding.

Simple Email Caught exception: Connection refused Template Email Caught exception: Connection refused

Can you please help me

Thanks

On Wed, Oct 22, 2014 at 6:13 AM, Orangescrum [email protected] wrote:

Hi, We have released the new version 1.4.1 Please get the list of file changes here, 1ea8495 https://github.com/Orangescrum/orangescrum/commit/1ea84958247ec6ae23c5549b5987e74f3f4a7fb6 After merging the latest 1.4.1 code, please run a test http://www.your-orangescrum.com/cron/test_email/?to= The debugger will list out the problem in sending Email. If there is no such problem, you will get 2 Emails. Please run that and let us know the problem.

— Reply to this email directly or view it on GitHub https://github.com/Orangescrum/orangescrum/issues/50#issuecomment-60063439 .

watchraju avatar Oct 22 '14 14:10 watchraju

​So, the Port 465 is not available or there is some problem. Please contact with your server administrator.​

On Wed, Oct 22, 2014 at 7:41 PM, watchraju [email protected] wrote:

465

Orangescrum avatar Oct 22 '14 14:10 Orangescrum

I spoke with them and do confirm 465 is available and not blocked at their end.

watchraju avatar Oct 22 '14 16:10 watchraju

Admin section looks good.. But still facing issues sending emails and hence not able to use this system.. could you please help us with it?

http://reyone.com/pms/cron/test_email/[email protected]

watchraju avatar Mar 25 '15 05:03 watchraju

Hi Watchraju, Can you please provide the following details:

1.Your hosting company (ex: digitalocean,godady etc). 2.Mail service like Sendgrid, Mandrill etc.

Also please check with your hosting company whether they have open the port for smtp outbound, if not asked them to open. Please run a test http://www.your-orangescrum.com/cron/test_email/?to=your email address

Orangescrum avatar Mar 25 '15 14:03 Orangescrum

Please find the details

1.Your hosting company (ex: digitalocean,godady etc). - Godaddy 2.Mail service like Sendgrid, Mandrill etc. - I tried using Sendmail and gmail mail services.

  1. I spoke with my hosting company and there do confirm 485 and 587 ports are opened.. On Mar 25, 2015 10:16 AM, "Orangescrum" [email protected] wrote:

Hi Watchraju, Can you please provide the following details:

1.Your hosting company (ex: digitalocean,godady etc). 2.Mail service like Sendgrid, Mandrill etc.

Also please check with your hosting company whether they have open the port for smtp outbound, if not asked them to open. Please run a test http://www.your-orangescrum.com/cron/test_email/?to=your email address

— Reply to this email directly or view it on GitHub https://github.com/Orangescrum/orangescrum/issues/50#issuecomment-86046147 .

watchraju avatar Mar 25 '15 14:03 watchraju

Hi Watchraju,

We have fixed the email sending issue. You can find the changes in the latest release(1.5.6) of orangescrum. Also you can check here https://github.com/Orangescrum/orangescrum/commit/4c1df3561b930c5a9ff86a911ab75e1c76c3da21

Orangescrum avatar Mar 26 '15 05:03 Orangescrum

Thanks for the quick fix.. but still facing the same issue :(

reyone.com/pms/cron/test_email/[email protected]

On Thu, Mar 26, 2015 at 1:50 AM, Orangescrum [email protected] wrote:

Hi Watchraju,

We have fixed the email sending issue. You can find the changes in the latest release(1.5.6) of orangescrum. Also you can check here 4c1df35 https://github.com/Orangescrum/orangescrum/commit/4c1df3561b930c5a9ff86a911ab75e1c76c3da21

— Reply to this email directly or view it on GitHub https://github.com/Orangescrum/orangescrum/issues/50#issuecomment-86353287 .

watchraju avatar Mar 26 '15 06:03 watchraju

Do you have email through your own hosting server? I couldn't get this to work either with gmail, but I switched to email through my hosting server and it worked fine.

CreaoticX avatar May 01 '15 04:05 CreaoticX

You can't use your gmail ID and password on your own hosting. You have to setup email through Godaddy and use that email and password.

CreaoticX avatar May 16 '15 13:05 CreaoticX

php_openssl in php.ini is enabled

ssl://smtp.gmail.com:465 () is open.

SMTP Simple Email Respond: Array ( [headers] => From: [email protected] Reply-To: support@arc****.com To: djbrody@**.com X-Mailer: CakePHP Email Component Date: Tue, 30 Jun 2015 16:25:52 +0000 Message-ID: <[email protected]****_.com> Subject: Testing SMTP Simple Email -1435681551 MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit [message] => ssl://smtp.gmail.com:465 Username: daniel@_**.com

)

Template Email Caught exception: Invalid email: "PROJECT_EMAIL"

Mail can be sent from /cron/test_email/?to=

but the system will not send invites or resend invites.

dzbrody avatar Jun 30 '15 16:06 dzbrody

If the /cron/test_email-Option works but invites don't, double check the FROM_EMAIL definition in app/Config/constants.php. It's only being used in invites but not in the test_email function.

notboring avatar Sep 05 '15 14:09 notboring

Hi i tried to execute domain/cron/test_email/?to=mailaddress and received the following,

php_openssl in php.ini is enabled 

ssl://smtp.gmail.com:465 is not responding.

Simple Email Caught exception: Connection timed out
Template Email Caught exception: Connection timed out

I also ran $ telnet smtp.gmail.com 465 on my server, and received the following,

Trying 2607:f8b0:400d:c03::6d...
Trying 64.233.171.108...
Connected to smtp.gmail.com.
Escape character is '^]'.

Mailing does not work in my system, help would be great.

[Note: I've also enabled my gmail id in the config to accept less secure apps in gmail settings]

nasikshafeek avatar Sep 15 '15 15:09 nasikshafeek

My problem fixed by contact to my hosting company. They have opened outgoing 465 and 587 SMTP ports. Then I can send email and invite email successful. Hope this help.

sovicheacheth avatar Nov 05 '15 08:11 sovicheacheth

If you have 2 step authentication in Google activated you need to use/create an 'app-password'. https://security.google.com/settings/security/apppasswords. More info: https://support.google.com/accounts/answer/185833

nwaelkens avatar Jun 08 '16 11:06 nwaelkens

I have the same issue, I tested it and it is the result : ``` php_openssl in php.ini is enabled ssl://smtp.gmail.com:465 is not responding. Simple Email Caught exception: Connection timed out Template Email Caught exception: Connection timed out

I also asked the host to open the ports 465 and 587 ports and the Are Open by default .

any help or guidelines to follow, my host is bluehost. I installed the scritpt to sub folder and it works perfectly except the mailing function: http://idev-inc.com/projectmangment

mustafaelnagar avatar Oct 18 '16 12:10 mustafaelnagar

Try this in the Emailreply.php

//$mail_id = $mail . "@" . $hostid; //mail id of sender $mail_id = $header->from[0]->mailbox . "@" . $header->from[0]->host;

agmorey avatar Dec 09 '16 15:12 agmorey

I have installed in my local machine and tested using the test email link provided above. Below is the log of the same. Please help

php_openssl in php.ini is enabled

ssl://smtp.gmail.com:465 is not responding.

Simple Email Caught exception: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed stream_socket_client(): Failed to enable crypto stream_socket_client(): unable to connect to ssl://smtp.gmail.com:465 (Unknown error)

Template Email Caught exception: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed stream_socket_client(): Failed to enable crypto stream_socket_client(): unable to connect to ssl://smtp.gmail.com:465 (Unknown error)

karchan33 avatar Feb 13 '17 06:02 karchan33

Hi All, I just downloaded OrangeScrum and installed on godaddy hosting environment. Everything seems to be working great except email. I am using gmail in constants.php. Could I get some help resolve this email issue? Thank you.

ansarisam avatar May 29 '17 02:05 ansarisam

php_openssl in php.ini is enabled ssl://smtp.gmail.com:465 is not responding. Simple Email Caught exception: Network is unreachable Template Email Caught exception: Network is unreachable

the same issue on version 1.6.1

exp3rt avatar Oct 01 '17 14:10 exp3rt