scheduled email sending | MDaemon Technologies, Ltd.

scheduled email sending


  • Good morning, I need some help.
    How can I set up sending an email every week at a same time and day using mdaemon via the web?

    thanks


  • Webmail will allow you to choose a date/time in the future to deliver an email when composing it.  It will not allow you to set up a recurring schedule.  There may be email clients available that allow you to send a message on a recurring schedule, if there are, you can use that client to schedule the email, but it will likely require you leave the client running all the time.  

    Another option would be using powershell and windows task scheduler.

    Here is a powershell script that will send an without authentication.

    Send-MailMessage -Body "This is my test." -Subject "Test" -From user@domain.com -To user@otherdomain.com -SmtpServer 127.0.0.1 -UseSSL

    If you need to authenticate it gets more complicated, you have to create a credential object. There are many examples available on the internet.

    Once you have the script, create a new task in windows task scheduler and set it to run the script when you need the email sent.

     


Please login to reply this topic!