Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
Welcome to the Monastery
 
PerlMonks  

Re: Mail::Sender connection failing under CGI

by AidanLee (Chaplain)
on Feb 28, 2004 at 13:13 UTC ( [id://332496]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Mail::Sender connection failing under CGI

could it be an authentication issue? IE, the user you are at the command line is permitted to send mail to the server, but the user the web server runs as is not? stab in the dark.
  • Comment on Re: Mail::Sender connection failing under CGI

Replies are listed 'Best First'.
Re^2: Mail::Sender connection failing under CGI
by Anonymous Monk on Jun 19, 2017 at 19:24 UTC
    If you're right, how to overcome this?

      If you're right, how to overcome this?

      have the cgi add a job to a queue ... the mail actually gets sent by a cron job reading from the queue running under the user account and not the webserver account

        Thanks for your reply. I was thinking myself about this kind of detour but found it a bit.. pathetic? Last week I was struggling with similar issue, namely LWP::UserAgent within CGI. No matter what, it is not possible to use them both when the server requires authentication over ssh. The only solutions found on internet suggest giving up on host authentication, or forcing ssh version, or using older ssl engine - all for nothing. I gave up in that case and started node.js. In this case it might be hard, since I have to use DBB::ODBC in the same script.. *Sigh*

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://332496]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.