Computing.Net > Forums > Linux > A script that auto sends email

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

A script that auto sends email

Reply to Message Icon

Name: kakarukeys
Date: May 16, 2006 at 19:14:56 Pacific
OS: Debian Linux
CPU/Ram: P4 / 256Mb
Product: DELL
Comment:

Does anyone know a script that auto sends a pre-written message every day to a same email address?



Sponsored Link
Ads by Google

Response Number 1
Name: Dlonra
Date: May 17, 2006 at 16:57:57 Pacific
Reply:

do you have shell scripting experience?
if so, a cron entry invoking a short script which invokes mail(1) will do it.


0

Response Number 2
Name: kakarukeys
Date: May 17, 2006 at 17:56:32 Pacific
Reply:

No.

I will try to look up cron and mail. But it will be nice if you can do it for me? It should take you only one minute to write the script? whereas for me, could be 1 day?

Is it essential that I need a SMTP server?


0

Response Number 3
Name: 3Dave
Date: May 18, 2006 at 02:58:41 Pacific
Reply:

You will need to connect to some kind of mail server unless you plan to connect by hand to each mail server that handles mail that you want to send to. Your ISP should provide you with and SMTP server or you could configure your own. Easiest way in a script would be to get the command line mail program able to send external emails. "man mail" for more info.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: A script that auto sends email

I want a script that adds new users www.computing.net/answers/linux/i-want-a-script-that-adds-new-users-/5625.html

Need a script that registers user logons and their process PID's www.computing.net/answers/linux/need-a-script-that-registers-user-logons-and-their-process-pids/164.html

reading passphrase in a script www.computing.net/answers/linux/reading-passphrase-in-a-script/26748.html