<?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: Sendmail in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/3778993#M262883</link>
    <description>Hi&lt;BR /&gt;&lt;BR /&gt;some example :&lt;BR /&gt;&lt;BR /&gt;simple text :&lt;BR /&gt;&lt;BR /&gt;(&lt;BR /&gt; echo "To: joel &lt;JOEL&gt;"&lt;BR /&gt; echo "From: system $(hostname) &lt;ROOT&gt;"&lt;BR /&gt; echo&lt;BR /&gt; echo "Systeme $(hostname)     $(date)"&lt;BR /&gt; echo "Update time: The time has been updated"&lt;BR /&gt;) 2&amp;gt;&amp;amp;1 | /usr/lib/sendmail -t&lt;BR /&gt;&lt;BR /&gt;text + two attached files :&lt;BR /&gt;&lt;BR /&gt;{&lt;BR /&gt; echo "To: loic@host.domain &lt;LOIC&gt;"&lt;BR /&gt; echo "From: system $(hostname) &lt;ROOT&gt;"&lt;BR /&gt; echo "Cc: joel@host.domain &lt;JOEL&gt;"&lt;BR /&gt; echo "Subject: compte rendu de l'analyse des sauvegarde"&lt;BR /&gt; echo 'MIME-Version: 1.0'&lt;BR /&gt; echo 'Content-type: multipart/mixed; boundary="xxxxyyyzzqzzyyyxxxx"'&lt;BR /&gt;&lt;BR /&gt;#text&lt;BR /&gt; echo '--xxxxyyyzzqzzyyyxxxx'&lt;BR /&gt; echo ''&lt;BR /&gt; echo "Systeme $(hostname)     $(date)"&lt;BR /&gt; echo "Surveillance de la sauvegarde des PC utilisateurs"&lt;BR /&gt; echo "Voir les fichiers joints"&lt;BR /&gt;&lt;BR /&gt;#first attached file&lt;BR /&gt; echo '--xxxxyyyzzqzzyyyxxxx'&lt;BR /&gt; echo 'Content-Disposition: attachment; filename="'$(basename $tmpfilename)'"'&lt;BR /&gt; echo ''&lt;BR /&gt; cat "$tmpfilename"&lt;BR /&gt;&lt;BR /&gt;#second attached file&lt;BR /&gt; echo '--xxxxyyyzzqzzyyyxxxx'&lt;BR /&gt; echo 'Content-Disposition: attachment; filename="'$(basename $fichier_csv)'"'&lt;BR /&gt; echo ''&lt;BR /&gt; cat "$fichier_csv"&lt;BR /&gt; echo '--xxxxyyyzzqzzyyyxxxx--'&lt;BR /&gt;} | /usr/sbin/sendmail -t&lt;BR /&gt;&lt;BR /&gt;Joel&lt;/JOEL&gt;&lt;/ROOT&gt;&lt;/LOIC&gt;&lt;/ROOT&gt;&lt;/JOEL&gt;</description>
    <pubDate>Fri, 28 Apr 2006 02:27:28 GMT</pubDate>
    <dc:creator>Joel Girot</dc:creator>
    <dc:date>2006-04-28T02:27:28Z</dc:date>
    <item>
      <title>Sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/3778989#M262879</link>
      <description>Wanting to see about getting the syntax for using sendmail in a script.</description>
      <pubDate>Thu, 27 Apr 2006 10:32:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/3778989#M262879</guid>
      <dc:creator>David Dangerfield_1</dc:creator>
      <dc:date>2006-04-27T10:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/3778990#M262880</link>
      <description>Do you want to send a mail to a user using the sendmail command? Use:&lt;BR /&gt;&lt;BR /&gt;sendmail user@domain.com &amp;lt; /path/to/file/body&lt;BR /&gt;&lt;BR /&gt;You can also use:&lt;BR /&gt;&lt;BR /&gt;mailx -s "Subject" &amp;lt; /path/to/file/body&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Apr 2006 10:49:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/3778990#M262880</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-04-27T10:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/3778991#M262881</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;to complete Ivan's solution, provide the user(s) the mail is sent as additional arguments:&lt;BR /&gt;mailx -s "Subject" user1@dom1 user2@dom2 ... &amp;lt; /path/to/file/body&lt;BR /&gt;&lt;BR /&gt;mfG Peter</description>
      <pubDate>Thu, 27 Apr 2006 11:31:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/3778991#M262881</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2006-04-27T11:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/3778992#M262882</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;Shalom,&lt;BR /&gt;&lt;BR /&gt;Take a look at this:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.hpux.ws/mailfile2" target="_blank"&gt;http://www.hpux.ws/mailfile2&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It has some moderate to advanced sendmail scripting in it.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 27 Apr 2006 12:27:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/3778992#M262882</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-04-27T12:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: Sendmail</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/3778993#M262883</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;some example :&lt;BR /&gt;&lt;BR /&gt;simple text :&lt;BR /&gt;&lt;BR /&gt;(&lt;BR /&gt; echo "To: joel &lt;JOEL&gt;"&lt;BR /&gt; echo "From: system $(hostname) &lt;ROOT&gt;"&lt;BR /&gt; echo&lt;BR /&gt; echo "Systeme $(hostname)     $(date)"&lt;BR /&gt; echo "Update time: The time has been updated"&lt;BR /&gt;) 2&amp;gt;&amp;amp;1 | /usr/lib/sendmail -t&lt;BR /&gt;&lt;BR /&gt;text + two attached files :&lt;BR /&gt;&lt;BR /&gt;{&lt;BR /&gt; echo "To: loic@host.domain &lt;LOIC&gt;"&lt;BR /&gt; echo "From: system $(hostname) &lt;ROOT&gt;"&lt;BR /&gt; echo "Cc: joel@host.domain &lt;JOEL&gt;"&lt;BR /&gt; echo "Subject: compte rendu de l'analyse des sauvegarde"&lt;BR /&gt; echo 'MIME-Version: 1.0'&lt;BR /&gt; echo 'Content-type: multipart/mixed; boundary="xxxxyyyzzqzzyyyxxxx"'&lt;BR /&gt;&lt;BR /&gt;#text&lt;BR /&gt; echo '--xxxxyyyzzqzzyyyxxxx'&lt;BR /&gt; echo ''&lt;BR /&gt; echo "Systeme $(hostname)     $(date)"&lt;BR /&gt; echo "Surveillance de la sauvegarde des PC utilisateurs"&lt;BR /&gt; echo "Voir les fichiers joints"&lt;BR /&gt;&lt;BR /&gt;#first attached file&lt;BR /&gt; echo '--xxxxyyyzzqzzyyyxxxx'&lt;BR /&gt; echo 'Content-Disposition: attachment; filename="'$(basename $tmpfilename)'"'&lt;BR /&gt; echo ''&lt;BR /&gt; cat "$tmpfilename"&lt;BR /&gt;&lt;BR /&gt;#second attached file&lt;BR /&gt; echo '--xxxxyyyzzqzzyyyxxxx'&lt;BR /&gt; echo 'Content-Disposition: attachment; filename="'$(basename $fichier_csv)'"'&lt;BR /&gt; echo ''&lt;BR /&gt; cat "$fichier_csv"&lt;BR /&gt; echo '--xxxxyyyzzqzzyyyxxxx--'&lt;BR /&gt;} | /usr/sbin/sendmail -t&lt;BR /&gt;&lt;BR /&gt;Joel&lt;/JOEL&gt;&lt;/ROOT&gt;&lt;/LOIC&gt;&lt;/ROOT&gt;&lt;/JOEL&gt;</description>
      <pubDate>Fri, 28 Apr 2006 02:27:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sendmail/m-p/3778993#M262883</guid>
      <dc:creator>Joel Girot</dc:creator>
      <dc:date>2006-04-28T02:27:28Z</dc:date>
    </item>
  </channel>
</rss>

