Orangescrum / orangescrum-community

Flexible Project Management web application written in CakePHP
https://www.orangescrum.com
Other
431 stars 239 forks source link

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

Open watchraju opened 10 years ago

watchraju commented 10 years ago

Emails are not working

Thanks

Orangescrum commented 10 years ago

Hi, Which Email sending Option you are using?

watchraju commented 10 years ago

I am using Gmail and this is what I used

define("SMTP_HOST", "ssl://smtp.gmail.com"); define("SMTP_PORT", "465"); define("SMTP_UNAME", "test@gmail.com"); 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 notifications@github.com 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 .

Orangescrum commented 10 years ago

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.

watchraju commented 10 years ago

Yes I did add it in my php.inc file. Still it is not working On Oct 21, 2014 2:10 AM, "Orangescrum" notifications@github.com 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 .

Orangescrum commented 10 years ago

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

watchraju commented 10 years ago

It is problem with everything. I was able to send email in previous version Thanks On Oct 21, 2014 2:14 AM, "Orangescrum" notifications@github.com 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 .

Orangescrum commented 10 years ago

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

watchraju commented 10 years ago

Thank you so much! On Oct 21, 2014 3:34 AM, "Orangescrum" notifications@github.com 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 .

Orangescrum commented 10 years ago

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= 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.

watchraju commented 10 years ago

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 notifications@github.com 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 .

Orangescrum commented 10 years ago

​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 notifications@github.com wrote:

465

watchraju commented 10 years ago

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

watchraju commented 9 years ago

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/?to=zooreyweb@gmail.com

Orangescrum commented 9 years ago

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

watchraju commented 9 years ago

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" notifications@github.com 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 .

Orangescrum commented 9 years ago

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

watchraju commented 9 years ago

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

reyone.com/pms/cron/test_email/?to=zooreyweb@gmail.com

On Thu, Mar 26, 2015 at 1:50 AM, Orangescrum notifications@github.com 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 .

CreaoticX commented 9 years ago

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 commented 9 years ago

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.

dzbrody commented 9 years ago

php_openssl in php.ini is enabled

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

SMTP Simple Email Respond: Array ( [headers] => From: support@arcbazar.com Reply-To: support@arc**_.com To: djbrody@.com X-Mailer: CakePHP Email Component Date: Tue, 30 Jun 2015 16:25:52 +0000 Message-ID: <5592c31057284bbaaf2e6837ac1f0625@project.arc**.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.

notboring commented 9 years ago

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.

nasikshafeek commented 9 years ago

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]

sovicheacheth commented 8 years ago

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.

nwaelkens commented 8 years ago

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

mustafaelnagar commented 8 years ago

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

agmorey commented 7 years ago

Try this in the Emailreply.php

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

karchan33 commented 7 years ago

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)

ansarisam commented 7 years ago

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.

exp3rt commented 7 years ago

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