Solved

How can I set up an email to be automatically sent to external recipients every 30 minutes?

Posted on 2007-11-26
3
245 Views
Last Modified: 2010-04-21
I want to send an email out every 30 minutes to multiple external recipients for the purpose of ensuring that outbound mail is operational. We are monitoring for outbound mail flow problems if anyone is curious why I'm doing this. I don't care what's in the subject or body of the email - I just want an email sent every 30 minutes.

Does this have to be done in Outlook or is there a way to just configure this to be done on the server?
This is on SBS 2003 SP2 with Exchange 2003 SP2. Thanks.
0
Comment
Question by:WineGeek
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 29

Expert Comment

by:chilternPC
ID: 20354570
maybe some javascript if the addresses were the same
this  sends an email to one person once, I'm sure it could be modified to loop with a timer.:

<%
Dim  objmail,strbody
Set objmail = Server.Createobject("CDONTS.NewMail")
%>

<%
objmail.to = "d.duck@disney,M.mouse@disney.com"
objmail.from = micky@disney.com
objmail.subject = "hello from ABC "
strbody = Chr(13)
strbody = "hello this is the body with carraige returns before and after"
strbody = strbody & Chr(13)
objmail.Body = strbody
objmail.Send

Set objmail = Nothing
%>
0
 
LVL 15

Accepted Solution

by:
vico1 earned 500 total points
ID: 20354641
You need to create a vb script on the server to do that.
Cut and Paste the code below to a text pad and save is as a *.cmd or *.bat
example: Mailchk.cmd

::----------------------------------------------------
@echo off
echo Set objEmail = CreateObject("CDO.Message") >Mailchk.vbs
echo objEmail.From = "youremail@yourdomain.com" >>Mailchk.vbs
echo objEmail.To = "Whateveremail@wahteverdomain.com" >>Mailchk.vbs
echo objEmail.Subject = "Mail Check" >>Mailchk.vbs
echo objEmail.Textbody = "This is a mail test" >>Mailchk.vbs
echo objEmail.AddAttachment("D:\Anyattchment.txt") >>Mailchk.vbs
   
echo objEmail.Send >>Mailchk.vbs

call Mailchk.vbs
::-----------------------------------------------------------

Then use taskmanager to run the file to your liking.

Vico1
0
 

Author Closing Comment

by:WineGeek
ID: 31411087
SWEET

thanks.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The problem of the system drive in SBS 2003 getting full continues to be an issue, even though SBS 2008 and SBS 2011 are both in the market place.  There are several solutions to this, including adding additional drive space or using third party uti…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question