9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi guys,
I am trying to send a mail with below command which is working fine. $FilePath_mail have To,From and other information along with mail body which is in HTML format. I want to have image(logo) in the body. So just wanted to send it as an an attachment.
/usr/sbin/sendmail -t <... (1 Reply)
Discussion started by: balakrishnaps
1 Replies
2. Shell Programming and Scripting
Hi All,
Can anyone help with an email formatting question:
Im using the following example to try and send a formatted email:
outputFile="file.txt"
(
echo "From: oracle@inovis.com"
echo "To: john.dickinson@gxs.com"
echo "MIME-Version: 1.0"
echo "Subject: Test Font"
echo... (4 Replies)
Discussion started by: jonnyd
4 Replies
3. Shell Programming and Scripting
Send_Mail()
{
C_Date=`date +"%m/%d/%Y"`
#Subject="MMDB Load Job Status"
for i in `cat $Metafile`
do
if
then
email_address=`echo $i | cut -d":" -f2`
/usr/lib/sendmail "$email_address" < $Email_File
fi
done
}
this is the send mail command i am using .please let me... (1 Reply)
Discussion started by: Alok K Yadav
1 Replies
4. Red Hat
Hi Friends,
I am very much new to sendmail or any other mta. I just installed sendmail 8.14 on my rhel6 machine. I was trying to send email to local user but after entering the message when i press CTRL-D it simply hangs. I also tried sending email via mutt but again mutt also hangs. It sends... (0 Replies)
Discussion started by: Rohit Bhanot
0 Replies
5. Shell Programming and Scripting
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary=border
--border
Content-Type: text/html
Content-Disposition: inline
<html><body><h2>This text should be displayed with html formatting</h2></body></html>
--border
Content-Type: text/plain
Content-Disposition: attachment
This text... (2 Replies)
Discussion started by: thulasidharan2k
2 Replies
6. UNIX for Dummies Questions & Answers
Hello, I need to write a program which sets server's ip address, router, network mask. Program also should set if it is an internal or external ip. Maybe someone can help me ? Any information from u is very useful :b:
I stopped at .. :(
#!/bin/sh
A=`hostname -i`
echo "server ip address is $A"... (4 Replies)
Discussion started by: zagaruika
4 Replies
7. UNIX for Advanced & Expert Users
Hello,
I am C. and I would like to send mail with Sendmail to my hotmail-account.
But this doesn't work, the mail always returns in the file:
/var/spool/mail/root.
Probably there is something wrong with my SmartHost.
I configured it like:
define ( 'SMART_HOST','smtp.direct-adsl.be')
-->... (1 Reply)
Discussion started by: caroline
1 Replies
8. Shell Programming and Scripting
Hello,
I need to send with text in the body and 2 files as attachments using sendmail command.
i can send only one at a time either attachment or text in body of email.
Can any one please help me how to get that?
I will be great for any help.
Thanks,
Sparan (1 Reply)
Discussion started by: sparan_peddu
1 Replies
9. UNIX for Advanced & Expert Users
How can i get sendmail to immediately bounce mail when the server on the other side gives a "550 unknown user" SMTP error? Currently, the outbound mail stays in the queue and is retried until our server gives up, some days later. (0 Replies)
Discussion started by: vertigo23
0 Replies
Mono(Mono 1.0) Mono(Mono 1.0)
NAME
mono-service, mono-service2 - Mono ServiceProcess host
SYNOPSIS
mono-service [options] program.exe
DESCRIPTION
The mono-service is a host to run services built with the ServiceProcess assembly.
Use mono-service to run services that use the 1.0 assemblies and use mono-service2 to run services that use the 2.0 assemblies.
Services can be paused by sending the SIGUSR1 signal to the process, and execution can be resumed by sending the SIGUSR2 signal. The ser-
vice can be cleanly shutdown by sending the SIGTERM signal to the process.
Mono programs started with mono-service run with the MONO_DISABLE_SHM variable set. This means that certain Mono features that depend on
it are not available to services.
The following options can be used to control the service:
-d:DIRECTORY
Use this option to specify the working directory for the service. The default is the current directory.
-l:LOCKFILE
Specifies the file to use for locking, the default is a filename constructed in /tmp based on the name of the program that hosts the
service.
-m:MESSAGE
Name to show in the syslog.
-n:NAME
Use this to specify the service to be launched (if the program contains more than one service). The default is to run the first
defined service.
--debug
Use this option to prevent mono-service from redirecting stdin and stdout and prevent the program to be sent to the background.
Equivalent to --no-daemon
--no-daemon
Use this option to prevent mono-service from redirecting stdin and stdout and prevent the program to be sent to the background.
Equivalent to --debug.
CONTROL
You can control the service by sending signals to the process, you can use the following commands:
Pausing service:
kill -USR1 `cat <lock file>`
Resuming service:
kill -USR2 `cat <lock file>`
Stopping the service:
kill `cat <lock file>`
EXAMPLES
Start the MyService.exe assembly, with a lock in /root/service-lock:
mono-service -l:/root/service-lock MyService.exe
DEBUGGING
Messages produced by the service are logged on syslog.
MAILING LISTS
Visit http://lists.ximian.com/mailman/listinfo/mono-list for details.
WEB SITE
Visit: http://www.mono-project.com for details
SEE ALSO
mono(1)
N:System.ServiceProcess
Mono(Mono 1.0)