bugnet icon indicating copy to clipboard operation
bugnet copied to clipboard

Emails and Error Logs not Working

Open 1icarus2 opened this issue 9 years ago • 7 comments

Hi everyone,

I cannot for the life of me get the emails or the Error log to work. The error log is always empty, regardless if there was an error that occurred.

Also, the emails have successfully been set up, when I click on Test Email, the test email does send successfully, but whenever I create an issue, and with the "notify user" option ticked, it never sends any emails.

Is there something in the configuration that I could have missed? I did make sure that I follow the instructions on how to install BugNet successfully.

1icarus2 avatar Jan 26 '16 12:01 1icarus2

I suffered the same issue.

kevinlihai avatar Jan 29 '16 01:01 kevinlihai

Email notifications are not sent to the user making the changes. If you sign in as another user and make some changes you are subscribed to you will get some notifications.

dubeaud avatar Jan 29 '16 02:01 dubeaud

I indeed subscribed the issue , but when the issue is changed no mail is received.

kevinlihai avatar Jan 29 '16 03:01 kevinlihai

Also, when I register a new user and choose the "Random Password" option, the user doesn't receive an email of Registration. Is this by design, or maybe a bug?

As for the log, how can I get that to work? When initially trying to set up the SMTP server, I tried my normal mail SMTP relay, mail.myserver.com, and it kept failining... I ended up using Localhost, which worked, but the message stated that I should look in the logs for more details, of which my logs are always emtpy.

1icarus2 avatar Jan 29 '16 06:01 1icarus2

I am feeling that, it only works for the local SMTP server, but if we setup an external SMTP server, e.g. smtp.someserver.com, if it fails.

kevinlihai avatar Jan 29 '16 07:01 kevinlihai

@1icarus2 The random password function you are seeing is by design and there is further discussion here on that https://github.com/dubeaud/bugnet/issues/168

@kevinlihai if it is working locally then maybe the configuration is wrong for your remote server. Have you tried telnet to the mail port to ensure you can contact it. Check to ensure the web.config isn't sending email to a local folder

<system.net>
    <mailSettings>
      <smtp deliveryMethod="SpecifiedPickupDirectory">
        <specifiedPickupDirectory pickupDirectoryLocation="C:\Email" />
      </smtp>
    </mailSettings>
  </system.net>

dubeaud avatar Jan 29 '16 13:01 dubeaud

dubeaud commented on Jan 28 Email notifications are not sent to the user making the changes. If you sign in as another user and make some changes you are subscribed to you will get some notifications.

Please make this a configurable option for each user to select (in their account admin panel or where it makes the most sense) that defaults to the current behavior. Thanks.

rlindabury avatar Jul 01 '16 15:07 rlindabury