<?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: How to send email with attachment in a ksh script to an specific SMTP server. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-send-email-with-attachment-in-a-ksh-script-to-an-specific/m-p/3333886#M568147</link>
    <description>Short of writing a perl script using an SMTP module, you can't as far as I know. The user agents all assume sendmail (or other MTA) is going to handle how the message gets routed to the destination. I used the perl approach for a couple of CGI projects I wrote a few years ago. (It also needed database access, which also couldn't be done from typical shell scripts.)</description>
    <pubDate>Fri, 16 Jul 2004 15:40:05 GMT</pubDate>
    <dc:creator>Jeff_Traigle</dc:creator>
    <dc:date>2004-07-16T15:40:05Z</dc:date>
    <item>
      <title>How to send email with attachment in a ksh script to an specific SMTP server.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-send-email-with-attachment-in-a-ksh-script-to-an-specific/m-p/3333882#M568143</link>
      <description>I've got the following:&lt;BR /&gt;uuencode xxx.dat xxx.dat | mail -s "Sending xxx.dat" a@b.com&lt;BR /&gt;&lt;BR /&gt;But where do i specify the SMTP server adres?&lt;BR /&gt;&lt;BR /&gt;I'm working on a server of our client, so I can't install third party mail client software.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance...&lt;BR /&gt;&lt;BR /&gt;Ton Swart</description>
      <pubDate>Fri, 16 Jul 2004 10:31:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-send-email-with-attachment-in-a-ksh-script-to-an-specific/m-p/3333882#M568143</guid>
      <dc:creator>Ton Swart</dc:creator>
      <dc:date>2004-07-16T10:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to send email with attachment in a ksh script to an specific SMTP server.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-send-email-with-attachment-in-a-ksh-script-to-an-specific/m-p/3333883#M568144</link>
      <description>The SMTP smart relay is defined in sendmail.cf file. (/etc/mail/sendmail.cf)&lt;BR /&gt;&lt;BR /&gt;Define DS macro in sendmail.cf&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Fri, 16 Jul 2004 10:36:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-send-email-with-attachment-in-a-ksh-script-to-an-specific/m-p/3333883#M568144</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-07-16T10:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to send email with attachment in a ksh script to an specific SMTP server.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-send-email-with-attachment-in-a-ksh-script-to-an-specific/m-p/3333884#M568145</link>
      <description>Isn't there another way? So i don't have to do make any system changes? Like using another command.&lt;BR /&gt;&lt;BR /&gt;Thanks for the fast reply... :D&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Jul 2004 10:45:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-send-email-with-attachment-in-a-ksh-script-to-an-specific/m-p/3333884#M568145</guid>
      <dc:creator>Ton Swart</dc:creator>
      <dc:date>2004-07-16T10:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to send email with attachment in a ksh script to an specific SMTP server.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-send-email-with-attachment-in-a-ksh-script-to-an-specific/m-p/3333885#M568146</link>
      <description>telnet smtp_server_whatever_you_want 25.&lt;BR /&gt;&lt;BR /&gt;Compose the email and sent. I do not know, how this will work and if ou will be able to attached files or not.&lt;BR /&gt;&lt;BR /&gt;From unix side, I don't think that there is any option to put smtp server on command line.&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Fri, 16 Jul 2004 11:07:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-send-email-with-attachment-in-a-ksh-script-to-an-specific/m-p/3333885#M568146</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-07-16T11:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to send email with attachment in a ksh script to an specific SMTP server.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-send-email-with-attachment-in-a-ksh-script-to-an-specific/m-p/3333886#M568147</link>
      <description>Short of writing a perl script using an SMTP module, you can't as far as I know. The user agents all assume sendmail (or other MTA) is going to handle how the message gets routed to the destination. I used the perl approach for a couple of CGI projects I wrote a few years ago. (It also needed database access, which also couldn't be done from typical shell scripts.)</description>
      <pubDate>Fri, 16 Jul 2004 15:40:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-send-email-with-attachment-in-a-ksh-script-to-an-specific/m-p/3333886#M568147</guid>
      <dc:creator>Jeff_Traigle</dc:creator>
      <dc:date>2004-07-16T15:40:05Z</dc:date>
    </item>
  </channel>
</rss>

