Closed chrisbwy closed 5 years ago
Unfortunately I don't have access to a SMTP server which doesn't require authentication. So I can only try some stuff, and I need you to check whether it helped.
Can you try this version? https://ci.appveyor.com/project/ChristianSpecht/scm-backup/builds/19385148/artifacts
SCM Backup output 10 Oct 121620.txt
Hi Christian,
Great, thanks that works ok, see attached.
There's lots of extra debug in this log - is that correct?
Regards
Chris
No, this shouldn't happen with the default settings.
I didn't notice it because I only tested the mails with a GitHub account (where I'm using GitHub's Octokit library, which doesn't log), but not with a Bitbucket account (where I'm calling the API in my own code, with full logging).
I just pushed another change - please try this version: https://ci.appveyor.com/project/ChristianSpecht/scm-backup/builds/19444335/artifacts
Would it be possible to add the config option to connect to an internal BB instance?
Paul Brown | 913.526.0939
On Oct 11, 2018, at 3:37 PM, Christian Specht notifications@github.com<mailto:notifications@github.com> wrote:
[External Email]
No, this shouldn't happen with the default settings.
I didn't notice it because I only tested the mails with a GitHub account (where I'm using GitHub's Octokit library, which doesn't log), but not with a Bitbucket account (where I'm calling the API in my own code, with full logging).
I just pushed another change - please try this version: https://ci.appveyor.com/project/ChristianSpecht/scm-backup/builds/19444335/artifactshttps://urldefense.proofpoint.com/v2/url?u=https-3A__ci.appveyor.com_project_ChristianSpecht_scm-2Dbackup_builds_19444335_artifacts&d=DwMFaQ&c=UjmJbqZPMTat0o02F6csow&r=WSBk6TzDw3ltxBWUMipVBpFGVfczvxb4hoT-HqEPP-4&m=Fvd7xyTsLmRboRg5--LKirN2QSld6A7STKP34_mVuCE&s=DOxrM1kYIm25Pu0YeW7YgKGtk4dXv3KIg7JOew9JLk0&e=
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_christianspecht_scm-2Dbackup_issues_23-23issuecomment-2D429109743&d=DwMFaQ&c=UjmJbqZPMTat0o02F6csow&r=WSBk6TzDw3ltxBWUMipVBpFGVfczvxb4hoT-HqEPP-4&m=Fvd7xyTsLmRboRg5--LKirN2QSld6A7STKP34_mVuCE&s=g0LgCiKwaKI-LV9VJgGCU92Np8I3KMQ5AZxUaRFfhhg&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AYR9TFFxIAp7p8mQ0MGNA7xW3WAnulorks5uj6wVgaJpZM4XShyx&d=DwMFaQ&c=UjmJbqZPMTat0o02F6csow&r=WSBk6TzDw3ltxBWUMipVBpFGVfczvxb4hoT-HqEPP-4&m=Fvd7xyTsLmRboRg5--LKirN2QSld6A7STKP34_mVuCE&s=F7IqKyS6_YMCrpvEy13xScugGLpLDoO_OSy98Ec-vkc&e=.
I've moved this to a new issue: #25
Hi Christian,
Many thanks for the latest update.
Now the log is ok, no debug stuff in there.
Regards and thanks for your changes here :-)
Chris
Hi - I'm getting an error when trying to email the log file.
Settings...
email: from: app@arris.com to: chris.hargreaves@arris.com server: smtp.arrisi.com port: 25 useSsl: false userName: password:
Log Message...
Backup finished! The backups are in this directory: c:\scm-backup\
Unhandled Exception: System.ArgumentNullException: Value cannot be null. Parameter name: userName at MailKit.MailService.Authenticate(String userName, String password, CancellationToken cancellationToken) at ScmBackup.Http.MailKitEmailSender.Send(String subject, String body) in C:\projects\scm-backup\src\ScmBackup\Http\MailKitEmailSender.cs :line 17 at ScmBackup.LogMailingScmBackup.Run() in C:\projects\scm-backup\src\ScmBackup\LogMailingScmBackup.cs:line 31 at ScmBackup.Program.Main(String[] args) in C:\projects\scm-backup\src\ScmBackup\Program.cs:line 9
Note our server does not require a userName or password.
Any ideas what the problem is?
Many thanks in advance.
Regards
Chris