This question may not belong here. But people here can help.

I backup files for clients. After it is done, I run a power shell script to email clients and myself that backup is completed. Problem is that I have to put an email login/password in that script in order to do that. Obviously, this is not a perfect solution.

I have been thinking about various ways, e.g. write an exe file and hard code password. problem is that what if I need to change password.

Any suggestions? Thanks,

  • Shadow
    link
    fedilink
    English
    28 months ago

    If you’re sending email to yourself and you use your own SMTP server as the outgoing, you don’t need auth.

    Drop the client off the emails to avoid relaying.