Anda di halaman 1dari 12

www.makeuseof.com/tag/send-automated-emails-save-time-sendemail-windows-task-sch eduler/ 1/7 BEST OF APPS (HTTP://WWW.MAKEUSEOF.COM/PAGES/THE-BEST-OF) ASK TECH HELP (HTTP://WWW.MAKEUSEOF.COM/ANSWERS/) CHEATS & GUIDES (HTTP://WWW.MAKEUSEOF.

COM/PAGES/) WEBSITES INDEX (HTTP://WWW.MAKEUSEOF.COM/DIR/) GEEKY FUN (HTTP://WWW.MAKEUSEOF.COM/TECH-FUN/) July 28, 2010 By Ryan Dube (http://www.makeuseof.com/tag/author/ryandube/) Home (http://www.makeuseof.com) Cool Software Apps (http://www.makeuseof.com/ser vice/applications/) Send Automated Emails Using SendEmail & Windows Task Scheduler (http://www.makeuseof.com/tag/send-automated-emailssavetime-sendemail-windows-task-scheduler/) No matter what your job is, usually everyone at some point has to email a boss or supervisor with daily, weekly or monthly status reports. A lot of time this is nothing more than sending over a spreadsheet of data, logfiles or other reports that are usually automatically generated. Gathering the data and generating reports may not be a big deal for you, but remembering to write up that email every so often can turn into a real hassle. And if you forget once or twice, it looks like youre not on top of your game. This is where your computer comes in handy. Most Windows users know about the Windows Task Scheduler (http://www.makeuseof.c om/tag/how-toautomatewindows-programs-on-a-schedule) by now. In this article, Im going to show you how you can use Windows Task Scheduler in combination with the awesome SendEmail (http://caspian.dotconf.net/menu/Software/SendEmail/) SMTP command-line tool to send off scheduled, automated emails that include multiple attachments. What are you looking for? Search Enter your email to subscribe Subscribe More Subscribe Options (http://www.makeuseof.com/subscribe/) 10 Awesome OneNote Tips You Should Be Using All The Time [Windows] I am going to ruffle a few feathers here by saying that Microsoft OneNote is just as good as Evernote. Evernote is probably more barebones... 8 Crucial Things You Should Know Before Travelling Abroad With Your Phone, Tablet, Or Laptop If you re about to go international with your smartphone, tablet and/or laptop there are a few things you should know before you go. You might... 4 Elements: Incredibly Fun Puzzle Game For Kids [Giveaway] If you ve ever wanted the perfect game to entertain a child for hours on end, it s time you

took a look at 4 Elements. T he... How To Build Your Own Tablet Stylus Steve Jobs was quite right when he said "If you see a stylus, they blew it." While a good touchscreen LOGIN AND REGISTER Get a MakeUseOf account using any of your social accounts. Earn points, access locked exclusives, unlock giveaways! (http://www.makeuseof.com/game) Get the best MakeUseOf articles in your email for free. Access Exclusives. Over 400,000 subscribers! MOST POPULAR (http://www.makeuseof.com/tag/10-awesome-onenote-tipstime/) (http://www.makeuseof.com/tag/8-crucial-travelling-phonetabletlaptop/) (http://www.makeuseof.com/tag/4-elements-incredibly-funpuzzlegame-for-kids-giveaway/) MakeUseOf (http://www.makeuseof.com) HOWTO & TIPS (HTTP://WWW.MAKEUSEOF.COM/) Ads by Google (http://w w w .google.com/url? ct=abg&q=https://w w w .google.com/adsense/support/bin/request.py%3Fcontact%3Dab g_afc%26url%3Dhttp://w w w .makeuseof.com/tag/sendautomatedemails-save-time-sendemail-w indow s-task-scheduler/%26gl%3DRO%26hl%3Den%26clien t%3Dca-pub5700237260308472%26ai0%3DBxCXPu3c7UOWKJaaX0AXHlIH4DpPZp8cCk_KfoxrAjbcBgPEEEAEYAS Djh4ANKAQ4AFCs2IUv____ 8BYIOl4YXoG6AB07iU_w OyARF3d3cubWFrZXVzZW9mLmNvbboBCjMzNngyODBfanPIAQHaAV5odHRw Oi8vd3d3Lm1ha2V1c2VvZi5jb20vdGFnL3NlbmQtYXV0b21hdGVkLWVtYWlscy1zYXZlLXRpbWUtc2Vu ZGVtYWlsLXdpbmRvd3MtdGFzay1zY2hlZHVsZXIvgAIBqAMOi8vd3d3Lm1ha2V1c2VvZi5jb20vdGFnL 3NlbmQtYXV0b21hdGVkLWVtYWlscy1zYXZlLXRpbWUtc2VuZGVtYWlsLXdpbmRvd3MtdGFzay1zY2hlZ HVsZXIvgAIBqQIAAgGpApw tey5yzpIw AIGyAKB5qMtqAMB9QMAAABE9QMAAAAQiAYB4Aa59Pkd%26ai3%3DBzrluu3c7UOWKJaaX0AXHlIH4DpG 2HC1ktDVDMCNtw Gw 2w YQBBgEIOOHgA0oBDgAUInP3PT_____w Fgg6XhhegboAGNu736A7IBEXd3dy5tYWtldXNlb2YuY29tugEKMzM2eDI4MF9qc8gBAdoBXmh 0dHA6Ly93d3cubWFrZXVzZW9mLmNvbS90YWcvc2VuZC1hdXRvbWF0ZWQtZW1haWxzLXNhdmUtdGltZS1 zZW5kZW1haWw AAgGoAw H1Aw AAAET1Aw AAABCIBgHgBpvm8AQ&usg=AFQjCNFRLu-MTYPp86zPONj 3ZUMhxuV0BA) Create Your Own Website (http://www.googleadservices.com/pagead/aclk? sa=L&ai=BxCXPu3c7UOWKJaaX0AXHlIH4DpPZp8cCk_KfoxrAjbcBgPEEEAEYASDjh4ANKAQ4AFCs2IUv____ 8BYIOl4YXoG6AB07iU_wOyARF3d3cubWFrZXVzZW9mLmNvbboBCjMzNngyODBfanPIAQHaAV5odHRwOi 8vd3d3Lm1ha2V1c2VvZi5jb20vdGFnL3NlbmQtYXV0b21hdGVkLWVtYWlscy1zYXZlLXRpbWUtc2VuZG VtYWlsLXdpbmRvd3MtdGFzay1zY2hlZHVsZXIvgAIBqAMB9QMAAABE9QMAAAAQiAYB4AahwS4&570023 7260308472&adurl=http://secure.hostgator.com/forward.php%3Fcampaign%3Dwebhosting content%26page%3Dshared.shtml) Automated Test Script (http://www.googleadservices.com/pagead/aclk? sa=L&ai=Bnwfhu3c7UOWKJaaX0AXHlIH4DujIpfAB2Oik1R3AjbcBgPEEEAIYAiDjh4ANKAQ4AFDBhP2 X_f____8BYIOl4YXoG6AB4IXWgOyARF3d3cubWFrZXVzZW9mLmNvbboBCjMzNngyODBfanPIAQHaAV5o dHRwOi8vd3d3Lm1ha2V1c2VvZi5jb20vdGFnL3NlbmQtYXV0b21hd GVkLWVtYWlscy1zYXZlLXRpbWUtc2VuZGVtYWlsLXdpbmRvd3MtdGFzay1zY2hlZHVsZXIvgAIBqQIiE NvZuP60PqgDAfUDAAAARPUDAAAAEIgGAeAGuO_client=ca-pub-5700237260308472&adurl=http: //www.ranorex.com) Cu Start Invest (http://www.googleadservices.com/pagead/aclk? sa=L&ai=BGe1Fu3c7UOWKJaaX0AXHlIH4DqnoveMCubGNpzCZ6J7pVeCCSBADGAMg44eADSgEOABQkYS unwRgg6XhhegboAGXgurgA7IBEXd3dy5tYWtldXNlb2YuY29tugEKMzM2eDI4MF9qc8gBAdoBXmh0dHA 6Ly93d3cubWFrZXVzZW9mLmNvbS90YWcvc2VuZC1hdXRvbWF0ZWQtZW1haWxzLXNhdmUtdGltZS1zZW5 kZW1haWwtd2luZG93cy10YAAgGpApwtey5yzpIwAIGyAKB5qMtqAMB9QMAAABE9QMAAAAQiAYB4Aa59P kd&

num=3&cid=5GiZZBiYtK5wMmGCBit9tiMP&sig=AOD64_0o9OhsN1fesoUG_Lu1YtyjldGXaA&client =capub5700237260308472&adurl=http://ro.hit.gemius.pl/rehitredir/id%3D.Kg6uHwabzVqTCVyi 7vaQJdQ31OgZDsea_IlZDzPInv.27/fastid%3D2377900603271786245/stparam%3Dyfdmcmenqg/ url%3Dhttp://www.axaasigurari. ro/campanieStartInvestA%3Futm_campaign%3DStartInvest) Need an SMTP Relay? (http://www.googleadservices.com/pagead/aclk? sa=L&ai=Bzrluu3c7UOWKJaaX0AXHlIH4DpG-2HC1ktDVDMCNtwGw2wYQBBgEIOOHgA0oBDgAUInP3PT _____wFgg6XhhegboAGNu736A7IBEXd3dy5tYWtldXNlb2YuY29tugEKMzM2eDI4MF9qc8gBAdoBXmh0 dHA6Ly93d3cubWFrZXVzZW9mLmNvbS90YWcvc2VuZC1hdXRvbWF0ZWQtZW1haWxzLXNhdmUtdGltZS1z ZW5kZW1haWwtd2luZG93cy10YXNrLXNjaGVkdWxlciAAgGoAwH1AwAAAET1AwAAABCIBgHgBpvm8AQ&num=4&cid=5GiZZBiYtK5wMmGCBit9tiMP&sig=AOD6 4_0zbbi4WPDdIby8jdHz6Ksj5CYZw& client=ca-pub-5700237260308472&adurl=http://www.smtp2go.com/) Free Site Builder, Templates & 3rd Party Scripts. Vwiewww .DHeotsatilGs aHteorre.c!om (http://www.googleadservices.com/pagead/aclk ?sa=L&ai=BxCXPu3c7UOWKJaaX0AXHlIH4DpPZp8cCk_KfoxrAjbcBgPEEEAEYASDjh4ANKAQ4AFCs2I -8BYIOl4YXoG6AB07iU_wOyARF3d3cubWFrZXVzZW9mLmNvbboBCjMzNngyODBfanPIAQHaAV5odHRwO i8vd3d3Lm1ha2V1c2VvZi5jb20vdGFnL3NlbmQtYXV0b21hdGVkLWVtYWlscy1zYXZl5700237260308 472&adurl=http://secure.hostgator.com/forward.php%3Fcampaign%3Dwebhostingcontent %26page%3Dshared.shtml) Automate your Web and Windows Testing. Download Free Trial Now! www.ranorex.com/automate-testing (http://www.googleadservices.com/pagead/aclk?sa =L&ai=Bnwfhu3c7UOWKJaaX0AXHlIH4DujIpfAB2Oik1R3AjbcBgPEEEAIYAiDjh4ANKAQ4AFDBhP2X_ GVkLWVtYWlscy1zYXZlLXRpbWUtc2VuZGVtYWlsLXdpbmRvd3MtdGFzay1zY2hlZHVsZXIvgAIBqQIiE NvZuP60PqgDAfUDAAAARPUDAAAAEIgGAeAGuO_client=ca-pub-5700237260308472&adurl=http: //www.ranorex.com) AXA rescrie legile in asigurari. Cere o consultatie gratuita aici! AXA-Asigurari.ro (http://www.googleadservices.com/pagead/aclk? sa=L&ai=BGe1Fu3c7UOWKJaaX0AXHlIH4DqnoveMCubGNpzCZ6J7pVeCCSBADGAMg44eADSgEOABQkYS unwRgg6XhhegboAGXgurgA7IBEXd3dy5tYWtldXNlb2YuY29tugEKMzAAgGpApwtey5yzpI-wAIGyAKB 5qMtqAMB9QMAAABE9QMAAAAQiAYB4Aa59Pkd&num=3&cid=5GiZZBiYtK5wMmGCBit9tiMP&sig=AOD6 4_0o9OhsN1fesoUG_5700237260308472&adurl=http://ro.hit.gemius.pl/rehitredir/id%3D .Kg6uHwabzVqTCVyi7vaQJdQ31OgZDsea_IlZDzPInv.27/fastid%3D2377900603271786245/Trou ble Sending Email? Send Email From Anywhere In the World! SMTP2Go.com (http://www.googleadservices.com/pagead/aclk?sa=L&ai=Bzrluu3c7UOWKJa aX0AXHlIH4DpG-2HC1ktDVDMCNtwGw2wYQBBgEIOOHgA0oBDgAUInP3PT_____wFgg6XhhegboAGNu736A7IBEXd3dy5tYWtldXNlb2YuY29tugEKMzM2eDI4MF9qc8gBAdoBXmh0 dHA6Ly93d3cubWFrZXVzZW9mLmNvbS90YWcvc2VuZC1hdXRvbWF0AAgGoAwH1AwAAAET1AwAAABCIBgH gBpvm8AQ&num=4&cid=5GiZZBiYtK5wMmGCBit9tiMP&sig=AOD64_0zbbi4WPDdIby8jdHz6Ks-j5CY Zw& www.makeuseof.com/tag/send-automated-emails-save-time-sendemail-windows-task-sch eduler/ 2/7 Configuring SendEmail to Correctly Send Reports The task here is fairly simple. You have a directory where several automated rep orts are stored. Maybe its a logfile summary for servers that you support, which you need to forward to your supervisor. Maybe its an Analytics traffic report that you need to forward to your website cl ients. Regardless of the need, this technique will let you automatically fire off an automated report email that will include as many of those attachments that you need to send. So long as you have a system se t up to automatically update those files before the scheduled email goes out youll have a completely au tomated reporting

system. Heres how it works. Lets say I send out three Google Analytics reports that I gene rate and download every Thursday and I store them in a directory called C:/Analytics. When you dow nload SendEmail from the link above, theres no setup required. Just place it in any directory whe re youd like to run it from. In this case Im just placing it in the same directory, so that I dont have t o include the directory path to the attachments in my command line. Linux users have been using the sendmail command for ages, so this isnt really new to them, but the Windows compatible SendEmail tool is something that lets Windows users have the sa me sort of command-line functionality. Once you have the executable sitting in a directory like this, as long as you know the syntax, you can do a lot of cool stuff with the tool. When you issue the SendEmail command at the command prompt (or run it from an appl ication), you have to follow it with a number of parameters. The critical ones that we are con cerned with are shown in the examples below. -f xxxxx@gmail.com : This parameter is the email address that will be the sender. -t rdube@yahoo.com : This is the recipients email address. -u Monday Status Updates : This is the subject -m Heres the analytics data for this week! : This is the message body. -a Analytics_Channel1.csv Analytics_Channel2.csv Analytics_Channel3.csv : These are the attachments. -s smtp.gmail.com:587 : SMTP server and port -xu xxxxx@gmail.com : SMTP authentication ID name should never require you to... How To Make Your Phones Battery Last Longer And Hold More Juice In a society where energy costs are rising, brownouts and blackouts are more common and the urge to stay connected is ever-greater, knowing how to... 6 Microsoft Products That Have Finally Been Perfected [Opinion] Microsoft occupies the majority of the personal computing market, and much of the business market as well. Its seen its downfalls though, too. T here... Learn To Code: 10 Free And Fantastic Online Resources To Hone Your Skills Coding. A topic that is avoided by many. T here are an abundance of free resources and tools, all of which are available online. Sure you... Make Windows 7 Faster By Removing Context Menu Entries Windows 7s context menus can become cluttered over time, filled with different options from the various programs youve installed. Worse yet, badly behaved context menu... 4 Handy Services To Get Your Online Life Under Control We re subscribed to so many newsletters, and are members of a countless number of services and

social networks, and usually our email accounts are always... What Is A RAM Disk, And How You Can Set One Up Solid state hard drives arent the first nonmechanical storage to appear in consumer PCs. RAM has been used for decades, but primarily as a short-term... (http://www.makeuseof.com/tag/how-to-build-your-owntabletstylus/) (http://www.makeuseof.com/tag/how-to-make-your-phonesbatterylast-longer-and-hold-more-juice/) (http://www.makeuseof.com/tag/6-microsoft-productsfinallyperfected-opinion/) (http://www.makeuseof.com/tag/learn-code-10-free-fantasticonlineresources-hone-skills/) (http://www.makeuseof.com/tag/make-windows-7-faster-byremovingcontext-menu-entries/) (http://www.makeuseof.com/tag/4-handy-services-online-lifecontrol/) Ads by Google (http://w w w .google.com/url? ct=abg&q=https://w w w .google.com/adsense/support/bin/request.py%3Fcontact%3Dab g_afc%26url%3Dhttp://w w w .makeuseof.com/tag/sendautomatedemails-save-time-sendemail-w indow s-task-scheduler/%26gl%3DRO%26hl%3Den%26clien t%3Dca-pub5700237260308472%26ai0%3DBv7M7u3c7UKDLNbGZ0AXHn4DQDteNhoAC_5TknTnAjbcBw KkHEAEYA SDjh4ANKAQ4AFCLluiu_f____8BYIOl4YXoG6ABrLCO_w OyARF3d3cubWFrZXVzZW9mLmNvbboBCjMz NngyODBfanPIAQHaAV5odHRw ZysqQHw kw kQAhgCIOOHgA0oBDgAUMWC1RRgg6XhhegboAGU7ufgA7 IBEXd3dy5tYWtldXNlb2YuY29tugEKMzM2eDI4MF9qc8gBAdoBXmh0dHA6Ly93d3cubWFrZXVzZW9mLm NvbS90YWcvc2VuZC1hdXRvbWF0ZWQtZW1haWxzLXNhdmUtdGltZS1zZW5kZW1haWw AAgHAAgWoAw H1 Aw AAAET1Aw AAABCIBgHgBqO1xRs%26ai3%3DB6exu3c7UKDLNbGZ0AXHn4DQDqmg0vkBmcvo0ibAjb cB8JMJEAQYBCDjh4ANKAQ4AFC75L0______8BYIOl4YXoG6ABr9yu_QOyARF3d3cubWFrZXVzZW9mLmNvbboBCjMzNngyODBfanPIAQHaAV5 odHRw Oi8vd3d3Lm1ha2V1c2VvZi5jb20vdGFnL3NlbmQtYXV0b21hdGVkLWVtYWlscy1zYXZlLXRpbW Utc2VuZGVtYWlsLXdpbmRvd3MtdGFzay1zY2hlZHVsZXIvgAIByALAbility Mail Server 2012 (h ttp://www.googleadservices.com/pagead/aclk? sa=L&ai=Bv7M7u3c7UKDLNbGZ0AXHn4DQDteNhoAC_5TknTnAjbcBwKkHEAEYASDjh4ANKAQ4AFCLlui u_f____8BYIOl4YXoG6ABrLCO_wOyARF3d3cubWFrZXVzZW9mLmNvbboBCjMzNngyODBfanPIAQHaAV5 odHRwOi8vd3d3Lm1ha2V1c2VvZi5jb20vdGFnL3NlbmQtYXV0b21hdGVkLWVtYWlscy1zYXZl5700237 260308472&adurl=http://www.code-crafters.com/abilitymailserver/index.html) Brain Training Games (http://www.googleadservices.com/pagead/aclk?sa=L&ai=BvFZu3 c7UKDLNbGZ0AXHn4DQDuyucsDxO2bpSSswZysqQHwkwkQAhgCIOOHgA0oBDgAUMWC1RRgg6XhhegboAG U7ufgA7IBEXd3dy5tYWtldXNlb2YuY29tugEKMz M2eDI4MF9qc8gBAdoBXmh0dHA6Ly93d3cubWFrZXVzZW9mLmNvbS90YWcvc2VuZC1hdXRvbWF0ZWQtZW 1haWxzLXNhdmUtdGltZS1zZW5kZW1haWwtd2luZG93cy10Y5700237260308472&adurl=http://www .lumosity.com/landing%3Frefer%3D692%26a%3DBTGDesigned_ Text_Text%26Network%3DContent%26kw%3D%26ad%3D9649177308%26SiteTarget%3Dwww.makeu seof.com) Magazin surplus militar (http://www.googleadservices.com/pagead/aclk? sa=L&ai=BiQXgu3c7UKDLNbGZ0AXHn4DQDuO115EEg5n9vFbj283wtAHwogQQAxgDIOOHgA0oBDgAUI7 egmVgg6XhhegboAG1lMjlA7IBEXd3dy5tYWtldXNlb2YuY29tugEKMzM2eDI4MF9qc8gBAdoBXmh0dHA 6Ly93d3cubWFrZXVzZW9mLmNvbS90YWcvc2VuZC1hdXRvbWF0ZWQtZW1haWxzLXNhdmUtdGltZS1zZW5 kZW1haWwtd2luZG93cy10YAAgHAAgWoAwH1AwAAAET1AwAAABCIBgHgBqO1xRs&num=3&cid=5Gix1bc jWcZqAeY85mcSrPjV&sig=AOD64_0nX73x6FqHSstrK9h5z7UnIei3Lg&client=capub5700237260308472&adurl=http://www.military-shop.ro/Militar/Surplus-militar/) Free Programming Courses (http://www.googleadservices.com/pagead/aclk?sa=L&ai=B6 exu3c7UKDLNbGZ0AXHn4DQDqmg0vkBmcvo0ibAjbcB8JMJEAQYBCDjh4ANKAQ4AFC75L0______8BYIOl4YXoG6ABr9yu_QOyARF3d3cubWFrZXVzZW9mLmNvbboBCjMzNngyODBfanPIAQHaAV5 odHRwOi8vd3d3Lm1ha2V1c2VvZi5jb20vdGFnL3NlbmQtYXV0b21hdGVkLWVtYWlscy1zYXZl9joFeMS OeX7NBwnQ&client=ca-pub-5700237260308472&adurl=http://code.he.net) SMTP, POP3, IMAP4 and WebMail. Secure SPAM /

Antivirus Protection. www.code-crafters.com (http://www.googleadservices.com/pagead/aclk? sa=L&ai=Bv7M7u3c7UKDLNbGZ0AXHn4DQDteNhoAC_5TknTnAjbcBwKkHEAEYASDjh4ANKAQ4AFCLlui u_f____8BYIOl4YXoG6ABrLCO_wOyARF3d3cubWFrZXVzZW9mLmNvbboBCjMzNngyODBfanPIAQHaAV5 odHRwOi8vd3d3Lm1ha2V1c2VvZi5jb20vdGFnL3NlbmQtYXV0b21hdGVkLWVtYWlscy1zYXZl5700237 260308472&adurl=http://www.code-crafters.com/abilitymailserver/index.html) Improve memory with scientifically designed bwrwaiwn .eluxmerocsisiteys..com (http://www.googleadservices.com/pagead/aclk?sa =L&ai=B-vFZu3c7UKDLNbGZ0AXHn4DQDuyucsDxO2bpSSswZysqQHwkwkQAhgCIOOHgA0oBDgAUMWC1R Rgg6XhhegboAGU7ufgA7IBEXd3dy5tYWtldXNlb2YuY29tugEKMzM2 eDI4MF9qc8gBAdoBXmh0dHA6Ly93d3cubWFrZXVzZW9mLmNvbS90YWcvc2VuZC1hdXRvbWF0ZWQtZW1h aWxzLXNhdmUtdGltZS1zZW5kZW1haWwtd2luZG93cy10YXN5700237260308472&adurl=http://www .lumosity.com/landing%3Frefer%3D692%26a%3DBTG-Designed_Text_Text%26Network%3DCon tent%Esti pasionat de surplus militar? Aici gasesti tot ce ai nevoie! military-shop.ro/surplus-militar (http://www.googleadservices.com/pagead/aclk? sa=L&ai=BiQXgu3c7UKDLNbGZ0AXHn4DQDuO115EEg5n9vFbj283wtAHwogQQAxgDIOOHgA0oBDgAUI7 egmVgg6XhhegboAG1lMjlA7IBEXd3dy5tYWtldXNlb2YuY29tugEKMzAAgHAAgWoAwH1AwAAAET1AwAA ABCIBgHgBqO1xRs&num=3&cid=5Gix1bcjWcZqAeY85mcSrPjV&sig=AOD64_0nX73x6FqHSstrK9h5z 7UnIei3Lg&Get started in minutes! Become a Software Engineer code.he.net (http://www.googleadservices.com/pagead/aclk?sa=L&ai=B6e-xu3c7UKDLNb GZ0AXHn4DQDqmg0vkBmcvo0ibAjbcB8JMJEAQYBCDjh4ANKAQ4AFC75L0______8BYIOl4YXoG6ABr9yu_QOyARF3d3cubWFrZXVzZW9mLmNvbboBCjMzNngyODBfanPIAQHaAV5 odHRwOi8vd3d3Lm1ha2V1c2VvZi5jb20vdGFnL3NlbmQtYXV0b21hdGVkLWVtYWlscy1zYXZl9joFeMS OeX7NBwnQ&client=ca-pub-5700237260308472&adurl=http://code.he.net) www.makeuseof.com/tag/send-automated-emails-save-time-sendemail-windows-task-sch eduler/ 3/7 -xp A1ienz2A51 : SMTP authentication password -o tls=yes : SMTP uses TLS (or SSL) These are all of the parameters youll need to complete the task that Im detailing in this article. Once youve downloaded the SendEmail.exe file to your computer, youre ready to use Windo ws Task Scheduler to issue your SendEmail automated email command every day, week, or mo nth. Setting Up Windows Task Scheduler Open up Windows Task scheduler by going to Start->Programs->Accessories->System Tools->Task Scheduler. Click to create a basic task. This will walk you through the task scheduling wizard, where you can assign any calendar schedule youd like for these emails to get sent. On the next screen, select Start a Program and then youll see the screen where you need to set up the task. This is where youll enter the path for your SendEmail executable and th e parameters. The entire argument line that I typed in was as follows: -f xxxxx@gmail.com -u Monday Status Updates -m Heres the analytics data for this w eek! -a Analytics_Channel1.csv -t xxxxx@yahoo.com -s smtp.gmail.com:587 -xu xxxxx@gmail. com -xp xxxxxxx -o tls=yes Refer back to the parameter list above, but as you can see this sends out an ema il from your Gmail account to a recipient who has a Yahoo account with a subject line, Heres the anal ytics data for this week! When this task runs (which will run every week), it fires off your message and attaches the file attachments that youve defined your parameters above.

This is what the received email looks like. (http://www.makeuseof.com/tag/what-is-a-ram-disk-andhowyou-can-set-one-up/) MakeUseOf on +19,178 Follow LATEST POSTS DOWNLOAD Your Guide To Google Analytics (http://www.makeuseof.com/tag/download-guide-googleanalytics/) (http://www.makeuseof.com/tag/download-guide-googleanalytics/) (http://www.makeuseof.com/tag/download-guide-googleanalytics/) Dropbox Adds New Two-Step Verification Feature, Enable It Now To Protect Your Dropbox Account! [Updates] (http://www.makeuseof.com/tag/dropbox-adds-twostepverificationfeature-enable-protect-dropbox-accountupdates/) (http://www.makeuseof.com/tag/dropbox-adds-twostepverificationfeature-enable-protect-dropbox-account-updates/) (http://www.makeuseof.com/tag/dropbox-adds-twostepverificationfeature-enable-protect-dropbox-accountupdates/) Cool Websites and Tools [August 26th 2012] (http://www.makeuseof.com/tag/cool-websites-toolsaugust26th-2012/) (http://www.makeuseof.com/tag/cool-websites-tools-august26th-2012/) (http://www.makeuseof.com/tag/cool-websites-toolsaugust26th-2012/) Your Cloud Media Center: How To Stream Videos From Dropbox (http://www.makeuseof.com/tag/your-cloud-media-centerhowto-stream-videos-from-dropbox/) (http://www.makeuseof.com/tag/your-cloud-media-centerhowto-stream-videos-from-dropbox/) (http://www.makeuseof.com/tag/your-cloud-media-centerhowto-stream-videos-from-dropbox/) 5 Tech Projects For The Mini Farmer (http://www.makeuseof.com/tag/5tech-projects-mini-farmer/) (http://www.makeuseof.com/tag/5-tech-projects-miniwww. makeuseof.com/tag/send-automated-emails-save-time-sendemail-windows-task-schedul er/ 4/7 automation (http://www.makeuseof.com/tags/automate/) email tips (http://www.makeuseof.com/tags/email-tips/) productivity (http://www.makeuseof.com/tags/productivity/) scheduled tasks (http://www.makeuseof.com/tags/scheduled-tasks/) tasks (http://www.makeuseof.com/tags/tasks/) More articles about: 11 Comments (#comments) As you can see, theres no indication that it comes from an automated script. Inst ead, it has a personal message and the necessary data/information files attached to the email. So long as you make sure the files are updated before this email goes out, youll never have to worry about for getting to send out another one of these status updates again. You can look as though youre being ext remely productive. Meanwhile, you can work on Saikats approach to being a procrastination ninja (http://www.makeuseof.com/tag/8-tools-procrastination-ninja-work/) ! Have you ever used the command-line SendEmail tool for Windows? Or maybe you hav e a different method for sending out automated emails? Share your own insight about this tool or other similar tools

in the comments section below. Image Credit: Tory Byrne (http://www.sxc.hu/photo/580773) Did you find this useful? Share it with others Facebook 1 Pinterest StumbleUpon Share Email Ryan Dube Ryan Dube is a freelance writer and Electrical Engineer and SEO expert. His writ ing focuses on science and tech investigations. Visit him at TopSecretWriters.com (http://www.t opsecretwriters.com) or on Google Plus (https://plus.google.com/u/0/104375605497981739653) . + (https://plus.google.com/u/0/104375605497981739653) The comments were closed because the article is more than 180 days old. If you have any questions related to stuff mentioned in the article or need help with any computer issue, just ask it on MakeUseOf Answers. (http://www.makeuseof.com/answers/) farmer/) (http://www.makeuseof.com/tag/5-tech-projects-minifarmer/) Flickr For Android Receives A Long-Awaited Update With Loads of New Features [Updates] (http://www.makeuseof.com/tag/flickr-android-receiveslongawaitedupdate-loads-features-updates/) (http://www.makeuseof.com/tag/flickr-android-receiveslongawaitedupdate-loads-features-updates/) (http://www.makeuseof.com/tag/flickr-android-receiveslongawaitedupdate-loads-features-updates/) 10 Free Punk Rock Albums [Sound Sunday] (http://www.makeuseof.com/tag/10-free-punk-rockalbumssound-sunday/) (http://www.makeuseof.com/tag/10-free-punk-rock-albumssoundsunday/) (http://www.makeuseof.com/tag/10-free-punk-rockalbumssound-sunday/) What Do You Think About Apples Win Over Samsung? [MakeUseOf Poll] (http://www.makeuseof.com/tag/apples-win-samsungmakeuseofpoll/) (http://www.makeuseof.com/tag/apples-win-samsungmakeuseofpoll/) (http://www.makeuseof.com/tag/apples-win-samsungmakeuseofpoll/) WinZip Gives Away Courier And Offers Chance To Win HDTV After Reaching One Billion Downloads [Updates] (http://www.makeuseof.com/tag/winzip-courier-offerschancewin-hdtv-reaching-billion-downloads-updates/) (http://www.makeuseof.com/tag/winzip-courier-offerschancewin-hdtv-reaching-billion-downloads-updates/) (http://www.makeuseof.com/tag/winzip-courier-offerschancewin-hdtv-reaching-billion-downloads-updates/) Latest Hilarious Picks [MakeUseOf Geeky Fun] (http://www.makeuseof.com/tag/latest-hilarious-picksmakeuseofgeeky-fun-190/) (http://www.makeuseof.com/tag/latest-hilarious-picksmakeuseofgeeky-fun-190/) (http://www.makeuseof.com/tag/latest-hilarious-picksmakeuseofgeeky-fun-190/) (http://www.makeuseof.com/tag/latest-hilarious-picksmakeuseofgeeky-fun-190/) (http://www.makeuseof.com/tag/latest-hilarious-picks-

15 0 0 65 Easily Send Command Line Emails w ith Blat [Window s] (http://www.makeuseof.com/tag/easilyquicklysend-command-lineemailsblat/) How To Put Google Analytics to Work for You With Email Reports (http://www.makeuseof.com/tag/googleanalyticsemail-reports/) Google Analytics Dashboard - A Pow erful Wordpress Traffic Monitoring Plugin (http://www.makeuseof.com/tag/googleanalyticsdashboard-powerfulwordpresstraffic-monitoringplugin/) Monitor Several Google Analytics Accounts w ith TrakkBoard (http://www.makeuseof.com/tag/monitorgoogleanalytics-accounts-placetrakkboard/) You may also like www.makeuseof.com/tag/send-automated-emails-save-time-sendemail-windows-task-sch eduler/ 5/7 Chris_Hunter (http://twitter.com/Chris_Hunter) July 29, 2010 Ryan Dube (http://www.TopSecretWriters.com) July 29, 2010 Chris_Hunter (http://twitter.com/Chris_Hunter) July 31, 2010 (javascript:void(0);) (javascript:void(0);) Aibek (http://www.makeuseof.com/) July 30, 2010 (javascript:void(0);) (javascript:void(0);) Chris_Hunter July 29, 2010 (javascript:void(0);) Ryan Dube July 30, 2010 (javascript:void(0);) EE August 31, 2010 Hide 11 Comments (#) Ryan, This is a GREAT tutorial on using these tools! Really great stuff! Let me ask you a question or two: for the -m Message Body, is there a max limit of characters or words that can go there? What about the Subject Line? Max there as well? Thanks! Hey Chris, thanks! Based on some of the comments in the FAQ, there is a known limit for the message of 16kb. Youve stumped me on the subject line though I dont know! 16kb is a good amount of plain text data. More than enough for a blog post! Thanks, Ryan! I second Chris, great tutorial! Ryan, This is a GREAT tutorial on using these tools! Really great stuff! Let me ask you a question or two: for the -m Message Body, is there a max limit

of characters or words that can go there? What about the Subject Line? Max there as well? Thanks! Hey Chris, thanks! Based on some of the comments in the FAQ, there is a known limit for the message of 16kb. Youve stumped me on the subject line though I dont know! Can someone post an example line for a verizon.net email address? Im having a har d time with this makeuseof-geeky-fun-190/) (http://www.autismspeaks.org/whatisit/learnsigns.php) www.makeuseof.com/tag/send-automated-emails-save-time-sendemail-windows-task-sch eduler/ 6/7 (javascript:void(0);) EE August 31, 2010 (javascript:void(0);) Jeff September 22, 2010 (javascript:void(0);) Jeff September 22, 2010 (javascript:void(0);) Ryan Dube (http://www.TopSecretWriters.com) September 23, 2010 (javascript:void(0);) Can someone post an example line for a verizon.net (http://verizon.net) email ad dress? Im having a hard time with this Im getting this strange error when I try to use sendmail in command prompt: Sep 22 15:05:06 sendemail[4872]: ERROR => Connection attempt to smtp.gmail.com:5 87 failed: IO::Socket::INET: connect: Unknown error This is what i type: C:Users>sendemail -f @gmail.com -u Subject test -m test -t @gmail.com -s smtp.gmail.com:587 -xu @gmail.com -xp -o tls=yes Is this correct? Im getting this strange error when I try to use sendmail in command prompt: Sep 22 15:05:06 <computername> sendemail[4872]: ERROR => Connection attempt to smtp.gmail.com (http://smtp.gmail.com) :587 failed: IO::Socket::INET: connect: U nknown error This is what i type: C:\Users\<username>>sendemail -f <username>@gmail.com -u Subject test -m test -t <username>@gmail.com -s smtp.gmail.com (http://smtp.gmail.com) :587 -xu <user name> @gmail.com -xp <password> -o tls=yes Is this correct?</password></username></username></username></username> </computername> Hey Jeff, that looks correct to me. What version of Windows are you using and ar e you confident you have a good outside Internet connection that you can use normally to send mail out using the smtp server you identified? CONNECT WITH US RSS Feed (http://feeds.feedburner.com/makeuseof) Other Subscribe Options (http://www.makeuseof.com/subscribe/) Join us on Facebook Bakari Chavanu (http://www.makeuseof.com/tag/author/bchavanu) Jessica Cam Wong

(http://www.makeuseof.com/tag/author/jessicacw) Danny Stieben (http://www.makeuseof.com/tag/author/danny) Matt Smith (http://www.makeuseof.com/tag/author/mattsmith) Tim Brookes Yaara Lancet MAKEUSEOF S STAFF AUTHORS Aibek Esengulov (http://www.makeuseof.com/tag/author/admin) Business Dev. Kaly (http://www.makeuseof.com/tag/author/asssa3000) Directory & GeekyFun Mark O Neill (http://www.makeuseof.com/tag/author/mark) Tina Sieber (http://www.makeuseof.com/tag/author/tinsie) MAKEUSEOF S EDITORS (http://www.autismspeaks.org/whatisit/learnsigns.php) www.makeuseof.com/tag/send-automated-emails-save-time-sendemail-windows-task-sch eduler/ 7/7 (http://www.facebook.com/makeuseof) Follow us on Twitter (http://www.twitter.com/Makeuseof) Circle us on Google Plus (https://plus.google.com/112975774125810216140) (http://www.makeuseof.com(h/tttapg:///awutwhowr./tmbraokoekusese)of.com/tag/auth or/yaara) Dave LeClair (http://www.makeuseof.com/tag/author/dleclair) Joshua Lockhart (http://www.makeuseof.com/tag/author/jlockhart) Craig Snyder (http://www.makeuseof.com/tag/author/csnyder) Dave Parrack (http://www.makeuseof.com/tag/author/dparrack) Christian Cawley (http://www.makeuseof.com/tag/author/ccawley) Joel Lee (http://www.makeuseof.com/tag/author/joellee) Simon Slangen (http://www.makeuseof.com/tag/author/SimonSlangen/) Aaron Couch (http://www.makeuseof.com/tag/author/acouch/) Managing Editor Answers & Comments Jackson Chung (http://www.makeuseof.com/tag/author/jxn) Social and Giveaways Saikat Basu (http://www.makeuseof.com/tag/author/saikatbasu) Weekend Publishing James Bruce (http://www.makeuseof.com/tag/author/jbruce) Developer Justin Pot (http://www.makeuseof.com/tag/author/justinpot) MakeUseOf Guides Ryan Dube (http://www.makeuseof.com/tag/author/ryandube) SEO Development

Angela Alcorn (http://www.makeuseof.com/tag/author/angela) News Section Erez Zukerman (http://www.makeuseof.com/tag/author/erez) Features & Story Ideas Chris Hoffman (http://www.makeuseof.com/tag/author/choffman) Newsletter Copyright 2012, MakeUseOf. All Rights Reserved. About (http://www.makeuseof.com/about/) | Contact (http://www.makeuseof.com/cont act-team/) | Advertise (http://www.makeuseof.com/advertise/) | Submit App (http://www.makeuseof.com/contact/) | Archives (http://www.makeuseof. com/archives-2/) | Privacy (http://www.makeuseof.com/disclaimer/) | Testimonials (http://www.makeuseof.com/testimonials/)

Anda mungkin juga menyukai