Couldn't set sender to "test" mail..

Help
Kilian
2008-01-31
2013-06-03
  • Kilian
    Kilian
    2008-01-31

    Hello,

    I try to send a mail, when we add a comment,
    but they give me this message :
    **********************
    Couldn't set sender to "test@test.com" , <test@test.com>... MAIL requires AUTH
    ***********************
    I find the comment has been saved in the database, just couldn't be sent...

    the adresse of smtp, i think it's right.......

    thank u

     
    • Kilian
      Kilian
      2008-01-31

      because of SSL.......

       
      • David Sitsky
        David Sitsky
        2008-01-31

        Check the codestriker configuration file.  If your SMTP server needs authentication, you need to set the username and password in codestriker.conf.

         
    • Kilian
      Kilian
      2008-02-01

      Yes, i did, but the question is that our server SMTP need connect by SSL
      i try to find NET::SMTP::SSL by PPM, but i can't find it.
      i don't want to install by hands, I don't want our all teams to install it by hands-_-.....
      do u have some idea for that ?

       
    • Kilian
      Kilian
      2008-02-01

      actually I think that i need change the email.pm for pass by SSL
      now he is use NET::SMTP
      i think I should change to NET::SMTP::SSL....
      how do u think?
      thank u,

       
      • David Sitsky
        David Sitsky
        2008-02-02

        Yes - you'd need to put in support for SSL yourself... I don't have access to such a server, so I don't know what is required.  Let me know how you go!

         
    • Kilian
      Kilian
      2008-02-04

      actually, i think that we just need add
      use Net::SMTP::SSL in ligne 16
      and Net::SMTP::SSL in ligne 444

      for download this pacakge
      I have tried many server of packages, i can't find it by ppm-_-

      and my boss hope that we can install package by PPM.(there are many groups that we should support, we can't install this package one by one .....)

      so i can't test........-_-...............yet......

       
    • Kilian
      Kilian
      2008-02-04

      I have downloaded the package , and i try to modify the code , Net::SMTP => Net::SMTP::SSL
          my $smtp = Net::SMTP::SSL->new('smtp3.gnb.st.com', Port => 25);
      he tell me Unable to connect to mail server: Bad file descriptor
      ........
      in the cpan, they give me a exemple
      use Net::SMTP::SSL;
       
        my $smtps = Net::SMTP::SSL->new("example.com", Port => 465);
      -_-.....
      save me......

       
      • David Sitsky
        David Sitsky
        2008-02-05

        Hev you tried

        my $smtp = Net::SMTP::SSL->new('smtp3.gnb.st.com', Port => 465);

        For SSL, the port number usually won't be 25, but 465 for SMTP SSL.

         
    • Kilian
      Kilian
      2008-02-05

      he give me this message"Unable to connect to mail server: Unknown error"

      i'm not sure it's our problem
      because i foundin the setting of outlook, the port of smtp is 25 for us