I can give you suggestions on how to approach this task, but I can't give you a complete script.
The basic flow would be like this (in pseudo code)
Everything else depends on the language you choose. Personally, I'd user Perl or Python, but it can also be done in bash or C.
I want to send a text file from Unix as an attachment to a Microsoft Outlook address. I have tried the 'elm' command which does this. But it is in an interactive mode. I want this to be automatically done by a program. Is there any other way to this? (3 Replies)
Hi,
I use mailx in a shell script to mail a message to the users. i wanted to know if mailx stores the mail that it sends? for eg in microsoft outlook all mails sent get stored in the outbox. is there such a facility with mailx?
if not how i can do this so that for every mail sent, a backup... (6 Replies)
i'm a avid fan of making the output of my scripts look pretty. so as a result i put in my scripts a lot of lines that are formed by either ****** or =======
now, outlook seems to have a problem with that. it always removes something that it calls "line breakers" from the emails my scripts send... (5 Replies)
Hi frnds,
I want to send 3 csv files as attachement in unix server how do i do this.
Following is the steps which i need to follow:
1.Shell script sets the environment variables
2.Shell script calls a C++ executable
NOTE:This executable will generate 3 csv files
3.After the... (2 Replies)
I'm trying to move a users multiple folders (archieved email) from a Solaris UNIX system to Outlook 2003. The user accesses the mail via ELM and folder are kept on his home drive, not under /var/mail. I was told I can use either IMAP and/or POP3 to connect to the UNIX server from outlook and just... (1 Reply)
Bonjour,
Après avoir découvert Nmon puis la macro excel, je souhaite comprendre la description de graphe
_________________
SYS_SUMM
CPU% ???
IO/sec ???
_________________
CPU_ALL
User% ???
Sys% ???
Wait% ???
_________________
DISK_SUMM
Disk Read KB/s = Lecture disk en kilo bytes... (6 Replies)
i have sun machines having solaris 9 & 10 OS . Now i need to send mail from the machines to my outlook account . I have the ip adress of OUTLOOK mail server. Now what are the setting i need to do in solaris machines so that i can use mailx or sendmail.
actually i am trying to automate the high... (2 Replies)
Hi,
For a requirement in my project, i need to implement code in unix such that unix checks whether the necessary mails from a particular client is received in outook inbox. Note that, i ve to check whether that particular mail has got any attachment too..
Please tell me whether this is... (0 Replies)
Hi all,
I want to send a mail for my business needs from outlook account to an unix server (HP-UX) but I don't send any mail. While I can send from the unix server to my outlook account, I can't send from outlook to unix.
How can I achieve this ? How can I send a mail from my outlook or other... (2 Replies)
Hello Guys,
I have a requirement to send an email to outlook from unix script. I have used the below stuff to send an email and it worked on machine A but not on machine B. Please find their versions.
Machine A ) Linux xxx 2.4.9-e.40enterprise #1 SMP Thu Apr 8 16:43:01 EDT 2004 i686 unknown... (1 Reply)
Discussion started by: srikanthbiradar
1 Replies
LEARN ABOUT DEBIAN
msgchk
MSGCHK(1) [nmh-1.5] MSGCHK(1)NAME
msgchk - check for messages
SYNOPSIS
msgchk [-date | -nodate] [-notify all/mail/nomail ] [-nonotify all/mail/nomail ] [-host hostname] [-user username] [-sasl] [-saslmech mech-
anism] [-snoop] [users ... ] [-version] [-help]
DESCRIPTION
The msgchk program checks all known mail drops for mail waiting for you. For those drops which have mail for you, msgchk will indicate if
it believes that you have seen the mail in question before.
The -notify type switch indicates under what circumstances msgchk should produce a message. The default is -notify all which says that
msgchk should always report the status of the users maildrop. Other values for `type' include `mail' which says that msgchk should report
the status of waiting mail; and, `nomail' which says that msgchk should report the status of empty maildrops. The -nonotify type switch
has the inverted sense, so -nonotify all directs msgchk to never report the status of maildrops. This is useful if the user wishes to
check msgchk's exit status. A non-zero exit status indicates that mail was not waiting for at least one of the indicated users.
If msgchk produces output, then the -date switch directs msgchk to print out the last date mail was read, if this can be determined.
Using POP
msgchk will normally check all the local mail drops, but if the option "pophost:" is set in the mts configuration file "mts.conf", or if
the -host hostname switch is given, msgchk will query this POP service host as to the status of mail waiting.
The default is for msgchk to assume that your account name on the POP server is the same as your current username. To specify a different
username, use the `-user username' switch.
When using POP, you will normally need to type the password for your account on the POP server, in order to retrieve your messages. It is
possible to automate this process by creating a ".netrc" file containing your login account information for this POP server. For each POP
server, this file should have a line of the following form. Replace the words mypopserver, mylogin, and mypassword with your own account
information.
machine mypopserver login mylogin password mypassword
This ".netrc" file should be owned and readable only by you.
For debugging purposes, there is also a switch -snoop, which will allow you to watch the POP transaction take place between you and the POP
server.
If nmh has been compiled with SASL support, the -sasl switch will enable the use of SASL authentication. Depending on the SASL mechanism
used, this may require an additional password prompt from the user (but the ".netrc" file can be used to store this password). The
-saslmech switch can be used to select a particular SASL mechanism.
If SASL authentication is successful, inc will attempt to negotiate a security layer for session encryption. Encrypted traffic is labelled
with `(encrypted)' and `(decrypted)' when viewing the POP transaction with the -snoop switch.
FILES
$HOME/.mh_profile The user profile
/etc/nmh/mts.conf nmh mts configuration file
/var/mail/$USER Location of mail drop
PROFILE COMPONENTS
None
SEE ALSO inc(1)DEFAULTS
`user' defaults to the current user
`-date'
`-notify all'
CONTEXT
None
MH.6.8 11 June 2012 MSGCHK(1)