Automating sendmail


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Automating sendmail
# 1  
Old 11-29-2004
Tools Automating sendmail

Hi there,

I am trying to send emails from within a shell script, and I need help. Also I am trying to send attachments from within a shell script. I am using sendmail.

Regards
# 2  
Old 11-29-2004
Search the forums - questions about mail/mailx and sending attachments have been asked many times. It is such a common question that a FAQ entry has been created for it.

Cheers
ZB
# 3  
Old 11-30-2004
Quote:
Originally posted by zazzybob
Search the forums - questions about mail/mailx and sending attachments have been asked many times. It is such a common question that a FAQ entry has been created for it.

Cheers
ZB
Hi zazzybob,

I already have a solution using another package other than sendmail. I am looking for something similar using sendmail. I have looked on the internet yesterday, although I collected a lot of information but not the thing I want. If you can direct me to any place that you know I'll will be grateful to you.

Regards
Jim
# 4  
Old 11-30-2004
If you're using sendmail as your MTA, then you need an MUA - pine/elm etc are graphical interfaces - you can use mail/mailx, as I said, to do provide a means of sending e-mail via sendmail (if your system is configured to use sendmail as its mail transfer agent - which I assume it is) from within scripts and at the command line. The FAQ entry given above will show you how to do it.

If you need any more assistance it might be helpful to post your script using the "other package".

Cheers
ZB
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Clarifying sendmail configuration - sendmail-client offline

Hi all, I have read about sendmail running as 2 separate process. 1 as a MSP, and the other as the real daemon or MTA. In my current configuration, the sendmail-client is disabled. Both submit.cf and sendmail.cf are left as default untouch I do not specified any mailhost... (3 Replies)
Discussion started by: javanoob
3 Replies

2. UNIX for Advanced & Expert Users

Sendmail questions, SCO 5.0.6 sendmail 8.11.0

I am running SCO 5.0.6 and using sendmail 8.11.0 and having issues with smtp authentication. When trying to send mail the following message will kick back. (reason: 530 5.7.1 Authentication required) 530 5.7.1 Authentication required Not sure what needs to be tweeked in sendmail.cf but I... (1 Reply)
Discussion started by: ziggy6
1 Replies

3. UNIX for Dummies Questions & Answers

Automating the FTP get

Hi , I want to pull files from ftp monthly once . The files in ftp has a something like 292_fileto_pull and next month it will be 293_fileto_pull for each month the number keeps increasing. i thought in my script if i can use date and increment the number by it mget *_292_fileto_pull i... (2 Replies)
Discussion started by: vikatakavi
2 Replies

4. Shell Programming and Scripting

Automating

Hi All, I have a shell script that is integrated with a fault management system. It periodically monitors the system and raises an alarm. This script has different functions and it accepts input from us on the console. Is there any way to invoke it using a shell script ? Please advise. ... (2 Replies)
Discussion started by: praviper
2 Replies

5. UNIX for Dummies Questions & Answers

Automating a process

Could any one tell me , how to start a thread here, i just searching for so long. sorry to post in irrelavent here ---------- Post updated at 08:19 AM ---------- Previous update was at 08:00 AM ---------- Hi, I got a requirement to automate the process. We have SLA files, there are... (1 Reply)
Discussion started by: afahmed
1 Replies

6. Shell Programming and Scripting

Automating The process

Hi Guru's, I am trying to write a scripts that will automate my image provisoining process. Scenario: I have Linux Image Hosted on cloud which needs to be provisoned before it can be used. Currently we log onto the image through the putty on windows and connect to linux instance. I... (3 Replies)
Discussion started by: taqvia
3 Replies

7. Shell Programming and Scripting

Automating scsudo

Solaris... I need to automate running of scsudo from another script. However, I've determined that scsudo reads the password from /dev/tty rather than STDIN when the Password prompt appears. I don't have 'expect' or equivalents available - can I automate sending the correct password when... (1 Reply)
Discussion started by: JerryHone
1 Replies

8. Shell Programming and Scripting

Automating slapconfig

I'm a New Media student working at a small media/tech company that's part of the New Media department at my school. I'm working on a MySQL/LDAP-based system for keeping track of users of our Mac file server. I'm trying to write a script that backs up our LDAP database using the slapconfig command... (0 Replies)
Discussion started by: ZevEisenberg
0 Replies

9. UNIX for Advanced & Expert Users

Automating Autosys

Can multiple Autosys jobs be changed with the same parameter at the same time? what scripting do I need? (0 Replies)
Discussion started by: LilyClaro
0 Replies
Login or Register to Ask a Question