Update: POE::Component::Client::SMTP

That is good, at least the admin seems to do his job ;-)..
The smtp Server protects against relaying unauthorized Mails (Preventing to be an open relay for Spammers).
As pointed out by others you should provide more infos, is the Mailserver under your control, is it in your (local network), contact the admin? e.g. otherwise you should authenticate or you wont get your mail relayed ...
You should get your hostname by running the command "hostname". I wonder if you know a little about E-Mail Servers? Perhaps you could provide a little more info, where are you (your domainname e.g.) and where do you want to send mail (in your Mail-Domain or to a (foreign) domain?)?
With such little info provided no one is able to give you exact advice ...

btw: you could simply test a mailserver by typing:

telnet nameofmailser.domain.tld 25 helo yourhostname.yourdomain.tld mail from:<yourmailadress.yourdomain.tld> rcpt to:<destinationmailadress.destinationdomain.tld> DATA bla bla .
The trailing "." in the code section ends the Mail Data and the mail is sent (if not rejected by the server ofc, most mailserver reject "late" after the "DATA" keyword but that depends on how the mailadmin configured it ...).

hth MH

In reply to Re: POCO::Client::SMTP problem by matze77
in thread POCO::Client::SMTP problem by avo

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.