I am trying to send an email with Perl via SSL. Based on the example, the best package that I have crossed is Net :: SMTP :: SSL. This standard appears to be unfortunately, the manufacturer always gives me I have verified, re-verified, and re-verified the server name and port number using a NAT application which essentially does the same thing. Everything works fine with the net app, so I do not see any reason because I should have trouble connecting to the SMTP server. This would be very useful if the module would provide some type of debugging information, but Uses to work for Net: :: Code> New In sub, Also, check that you have installed - this is used for network operations. If you want to install your code by using the I will also double and triple-check that you have the correct port: Net :: SMTP: SSL document says: Due to the nature of the net: SMTP's undef for me:
My $ smtp = Net :: SMTP :: SSL-> New ('smtp.server.com', port => 25, debug = & gt; 1);
$! is empty, is there any clarification as to why the
$ smtp variable will be undefined? Or is there any way to get some useful debugging information from constructor calls? Edit: Yes, I know that Port 25 is a strange port to use with SSL. I do not know why this port was chosen, but this is the port that is being used Unfortunately, forcing me from time to time and trying to debug the CNA module, it would be easy for me to understand with another technique. Thanks to everyone for helping.
undef , SMTP has returned to the status of many errors. To begin, you can either move through this function call in the debugger, or sprinkle the print statement manually into your code to see how far it's going to be.
cpan client, but you have other package managers such as RPM sometimes screw up the dependency series.
new method, it is not override to use a default port for SMTPS service Maybe future versions will be smart like this Port 465 usually what you want, and to specify it There is no pain for you.
Comments
Post a Comment