<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: automatic mail from linux in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/automatic-mail-from-linux/m-p/3278931#M12196</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If you have sendmail on localsoft, you can use sendmail (mail command).&lt;BR /&gt;e.g.)&lt;BR /&gt;$ mail -s Subject user@domain &amp;lt; conts.txt&lt;BR /&gt;&lt;BR /&gt;If you don't have sendmail or don't configure sendmail,&lt;BR /&gt;you can use perl.&lt;BR /&gt;Please see perldoc Net::SMTP.&lt;BR /&gt;Very simple script makes you happy.&lt;BR /&gt;&lt;BR /&gt;e.g.)&lt;BR /&gt;#!/usr/bin/perl -w&lt;BR /&gt;&lt;BR /&gt;use Net::SMTP;&lt;BR /&gt;&lt;BR /&gt;$smtp = Net::SMTP-&amp;gt;new('mailhost');&lt;BR /&gt;&lt;BR /&gt;$smtp-&amp;gt;mail($ENV{USER});&lt;BR /&gt;$smtp-&amp;gt;to('postmaster');&lt;BR /&gt;&lt;BR /&gt;$smtp-&amp;gt;data();&lt;BR /&gt;$smtp-&amp;gt;datasend("To: postmaster\n");&lt;BR /&gt;$smtp-&amp;gt;datasend("\n");&lt;BR /&gt;$smtp-&amp;gt;datasend("A simple test message\n");&lt;BR /&gt;$smtp-&amp;gt;dataend();&lt;BR /&gt;&lt;BR /&gt;$smtp-&amp;gt;quit;&lt;BR /&gt;--- from perldoc Net::SMTP ---&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;</description>
    <pubDate>Tue, 18 May 2004 01:52:44 GMT</pubDate>
    <dc:creator>Kiyoshi Miyake</dc:creator>
    <dc:date>2004-05-18T01:52:44Z</dc:date>
    <item>
      <title>automatic mail from linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/automatic-mail-from-linux/m-p/3278929#M12194</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Through scripts, if i need to send mails automatically to any email id (internet mails or office mail), what &amp;amp; how should i configure that on linux? Please help?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;Kusuma</description>
      <pubDate>Tue, 18 May 2004 01:37:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/automatic-mail-from-linux/m-p/3278929#M12194</guid>
      <dc:creator>Kusuma Sashidhar</dc:creator>
      <dc:date>2004-05-18T01:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: automatic mail from linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/automatic-mail-from-linux/m-p/3278930#M12195</link>
      <description>Kusuma,&lt;BR /&gt;For this you would need to configure sendmail on the Linux server. Please review the links below, they provide sufficient information on how to configure the same&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.siliconvalleyccie.com/linux-hn/sendmail.htm" target="_blank"&gt;http://www.siliconvalleyccie.com/linux-hn/sendmail.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.linuxjournal.com/article.php?sid=5507" target="_blank"&gt;http://www.linuxjournal.com/article.php?sid=5507&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If you have any specific questions, let me know&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Mobeen</description>
      <pubDate>Tue, 18 May 2004 01:49:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/automatic-mail-from-linux/m-p/3278930#M12195</guid>
      <dc:creator>Mobeen_1</dc:creator>
      <dc:date>2004-05-18T01:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: automatic mail from linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/automatic-mail-from-linux/m-p/3278931#M12196</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If you have sendmail on localsoft, you can use sendmail (mail command).&lt;BR /&gt;e.g.)&lt;BR /&gt;$ mail -s Subject user@domain &amp;lt; conts.txt&lt;BR /&gt;&lt;BR /&gt;If you don't have sendmail or don't configure sendmail,&lt;BR /&gt;you can use perl.&lt;BR /&gt;Please see perldoc Net::SMTP.&lt;BR /&gt;Very simple script makes you happy.&lt;BR /&gt;&lt;BR /&gt;e.g.)&lt;BR /&gt;#!/usr/bin/perl -w&lt;BR /&gt;&lt;BR /&gt;use Net::SMTP;&lt;BR /&gt;&lt;BR /&gt;$smtp = Net::SMTP-&amp;gt;new('mailhost');&lt;BR /&gt;&lt;BR /&gt;$smtp-&amp;gt;mail($ENV{USER});&lt;BR /&gt;$smtp-&amp;gt;to('postmaster');&lt;BR /&gt;&lt;BR /&gt;$smtp-&amp;gt;data();&lt;BR /&gt;$smtp-&amp;gt;datasend("To: postmaster\n");&lt;BR /&gt;$smtp-&amp;gt;datasend("\n");&lt;BR /&gt;$smtp-&amp;gt;datasend("A simple test message\n");&lt;BR /&gt;$smtp-&amp;gt;dataend();&lt;BR /&gt;&lt;BR /&gt;$smtp-&amp;gt;quit;&lt;BR /&gt;--- from perldoc Net::SMTP ---&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;</description>
      <pubDate>Tue, 18 May 2004 01:52:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/automatic-mail-from-linux/m-p/3278931#M12196</guid>
      <dc:creator>Kiyoshi Miyake</dc:creator>
      <dc:date>2004-05-18T01:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: automatic mail from linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/automatic-mail-from-linux/m-p/3278932#M12197</link>
      <description>Hello Mobeen,&lt;BR /&gt;&lt;BR /&gt;does that mean that I have to have DNS if I have to send mails outside or is there any other option?&lt;BR /&gt;&lt;BR /&gt;Kusuma</description>
      <pubDate>Tue, 18 May 2004 03:39:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/automatic-mail-from-linux/m-p/3278932#M12197</guid>
      <dc:creator>Kusuma Sashidhar</dc:creator>
      <dc:date>2004-05-18T03:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: automatic mail from linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/automatic-mail-from-linux/m-p/3278933#M12198</link>
      <description>Kusuma,&lt;BR /&gt;Absolutely. You should have a DNS on your domain. I am not aware of any other ways this can be done.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Mobeen</description>
      <pubDate>Tue, 18 May 2004 03:54:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/automatic-mail-from-linux/m-p/3278933#M12198</guid>
      <dc:creator>Mobeen_1</dc:creator>
      <dc:date>2004-05-18T03:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: automatic mail from linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/automatic-mail-from-linux/m-p/3278934#M12199</link>
      <description>If you're doing it for job:&lt;BR /&gt;1) select a mail server [postfix|sendmail]&lt;BR /&gt;2) read docs and configure it. It takes 1h using a ready-made config file.&lt;BR /&gt;3) use the "mail" command to send mail as suggested above. You can use it too thru piping:&lt;BR /&gt;&lt;BR /&gt;echo "My Mail Body"|mail johnsmith@example.com -c johnholmes@example1.net &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Peace, R&amp;gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 18 May 2004 08:29:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/automatic-mail-from-linux/m-p/3278934#M12199</guid>
      <dc:creator>Roberto Polli</dc:creator>
      <dc:date>2004-05-18T08:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: automatic mail from linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/automatic-mail-from-linux/m-p/3278935#M12200</link>
      <description>attaching a useful script for sending attachments.&lt;BR /&gt;&lt;BR /&gt;You can do mail so many different ways.&lt;BR /&gt;&lt;BR /&gt;mail, elm, sendmai all have different and complimentary capabilities.&lt;BR /&gt;&lt;BR /&gt;the right tool for the right job.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 18 May 2004 09:23:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/automatic-mail-from-linux/m-p/3278935#M12200</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-05-18T09:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: automatic mail from linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/automatic-mail-from-linux/m-p/3278936#M12201</link>
      <description>I would suggest you use postfix. Simple to set up. Set the server to use your office mail server as its relayhost. It can handle where the mail should go.</description>
      <pubDate>Tue, 18 May 2004 19:02:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/automatic-mail-from-linux/m-p/3278936#M12201</guid>
      <dc:creator>Nicholas Melville</dc:creator>
      <dc:date>2004-05-18T19:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: automatic mail from linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/automatic-mail-from-linux/m-p/3278937#M12202</link>
      <description>I agree with Kiyoshi ... use some kind of perl/shell script that is called from cron.</description>
      <pubDate>Wed, 26 May 2004 12:39:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/automatic-mail-from-linux/m-p/3278937#M12202</guid>
      <dc:creator>Derek Whitten</dc:creator>
      <dc:date>2004-05-26T12:39:18Z</dc:date>
    </item>
  </channel>
</rss>

