Loading ...
Sorry, an error occurred while loading the content.

Re: [PBML] Sendmail

Expand Messages
  • picsian1 <imoq172@hotmail.com>
    Charles, Thank you for responding. You re dead-on!. You must include the domain at the end. Thanks again. gary ...
    Message 1 of 30 , Feb 2, 2003
    • 0 Attachment
      Charles,
      Thank you for responding. You're dead-on!. You must include the
      domain at the end.
      Thanks again.
      gary

      --- In perl-beginner@yahoogroups.com, "Charles K. Clarkson"
      <cclarkson@h...> wrote:
      > picsian1 <imoq172@h...> wrote:
      >
      > : When I get the email, the From address shows up as :
      > :
      > : Howard.Hunt@m...
      > :
      > : Howard.Hunt is coming from the $Contact, but where
      > : is the @... coming from? I'd like
      > : to change it to my domain. How would I do that?
      >
      > The "@..." might be coming from
      > sendmail because someone has turned on the
      > "always_add_domain" feature:
      > http://www.tek-
      tips.com/gviewthread.cfm/lev2/3/lev3/15/pid/14/qid/436479
      >
      > Have you tried to send the email with the domain
      > you want added on to $Contact? Your example seems to
      > indicate that you are not sending the domain name in
      > $Contact, but you don't actually say that.
      >
      > $Contact .= '@...'
      >
      >
      > This is a sendmail issue, not a perl programming
      > issue. Have you tried USENET: news:comp.mail.sendmail?
      > Search at groups.google before asking your question.
      >
      >
      > HTH,
      >
      > Charles K. Clarkson
      > --
      > Head Bottle Washer,
      > Clarkson Energy Homes, Inc.
      > Mobile Home Specialists
      > 254 968-8328
    • Jack Swayze
      I have the MOD Mail::Mailer installed. I am trying to get some information sent to my from a perl script. I get everything except the body. ANy help would
      Message 2 of 30 , Jun 9, 2003
      • 0 Attachment
        I have the MOD Mail::Mailer installed. I am trying to get some
        information sent to my from a perl script. I get everything except the
        body. ANy help would ROCK. I am going in circles. I can send it from the
        command line NP.

        #opt1 SUBROUTINE
        sub opt1
        {
        print "$clear";
        print "what is your name?\n";
        $name=<>;
        chop($name);

        print "What is your email address?\n";
        $email=<>;
        chop($email);

        print "What is the problem. Please give as much information as possible.
        Please include error messages, and what you were doing at the time.\n";
        $problem=<>;


        print "What priority is this (examples...HIGH MEDIUM LOW)\n";
        $priority=<>;
        chop($priority);


        use Mail::Mailer;
        $junior='jswayze@...';
        $mailer = Mail::Mailer->new("sendmail");
        $mailer->open({ From =>$email,
        To =>$junior,
        Subject =>$priority,
        Body =>$problem,
        })
        }
      Your message has been successfully submitted and would be delivered to recipients shortly.