The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Previous Message  |  Next Message 
 sending email with shell script
Author: severndigital 
Date:   19-02-07 20:34

I have 2 freebsd boxes.

box1: NO email setup and would prefer not to

box2: webserver with email(SMTP/POP3)

I would like to run a shell script on box1 using cron and with that script i would to send email.

I would to send it through the smtp server running on box2

--My initial thoughts were to code some telnet commands into the shell script but that proved useless as it's a human intervention process.

I've attempted to use expect, but have not been able to get that to function at all.

any help would be great.

thanks in advance.
chris

 Reply To This Message  |  Forum List  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 sending email with shell script   new
severndigital 19-02-07 20:34 
 Re: sending email with shell script   new
dln 25-02-07 01:39 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org