Re: Net::SMTP

2012-04-26 Thread Lesley Binks
On Tue, Apr 24, 2012 at 03:59:27PM -0700, Michael Rasmussen wrote: > On 2012-04-24 13:17, Somu wrote: > >Ok.. Thanks for the info on gmail. > >But is there any way to find out such information for other hosts? > >Like I have an account at https://ems.sbi.co.in so again how do i > >do for > >that? >

Re: Net::SMTP

2012-04-24 Thread Michael Rasmussen
On 2012-04-24 13:17, Somu wrote: Ok.. Thanks for the info on gmail. But is there any way to find out such information for other hosts? Like I have an account at https://ems.sbi.co.in so again how do i do for that? You use the DNS system, usually with nslookup or dig to an mx lookup type. M

Re: Net::SMTP

2012-04-24 Thread Leo Susanto
I googled https://www.google.com/search?q=smtp+ems.sbi.co.in and I found this: http://www.robtex.com/dns/smtp.sbi.co.in.html No info on SMTP implementation, good luck with that. On Tue, Apr 24, 2012 at 1:17 PM, Somu wrote: > Ok.. Thanks for the info on gmail. > But is there any way to find out s

Re: Net::SMTP

2012-04-24 Thread Somu
Ok.. Thanks for the info on gmail. But is there any way to find out such information for other hosts? Like I have an account at https://ems.sbi.co.in so again how do i do for that? On Tue, Apr 24, 2012 at 10:38 PM, Leo Susanto wrote: > Gmail is implementing secure SMTP, so plain SMTP won't work.

Re: Net::SMTP

2012-04-24 Thread Leo Susanto
Gmail is implementing secure SMTP, so plain SMTP won't work. use Net::SMTP::TLS; And make sure you are using these information Host => 'smtp.gmail.com', Hello=> 'gmail.com', Port => 587, User => 'x...@gmail.com', On Tue, Apr 24, 2012 at 9:57 AM, S

Re: Net::SMTP

2012-04-24 Thread Somu
SMTP is a Protocol, which uses standard commands to send mail. I want to use it. So there is already an implementation written. So I'm not going for IO or Sockets.. I want to make it work. Please, I need some workable parameters. Help. And it dies, simply. Don't know what goes on beneath the surfa

Re: Net::SMTP

2012-04-23 Thread Michael Rasmussen
On Tue, Apr 24, 2012 at 01:54:15AM +0530, Somu wrote: > Hi everyone... > Why isn't it happeing!!?? > > Just the code from Net::SMTP docs > > __ > > use strict; > use warnings; > use Net::SMTP; > > #these 3 lines bring the output mx.google.

Re: Net::SMTP envelop from query

2011-09-13 Thread Jeff Pang
13 сентября 2011, 14:29 от Agnello George : > in the Net::SMTP module how does one differentiate the header-from and > envelope-from ID .. i had read somewhere that $smtp->mail($from) is > the envelope form id .. then how do i add the header from ID .. . That's in the message body. for example,

Re: Net::SMTP module

2006-04-03 Thread JupiterHost.Net
Sonika Sachdeva wrote: What is the correct method to authenticate for sending mails , I found auth(). But its not working... Try Mail::Sender::Easy It handles SMTP authentication quite nicely :) -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTE

Re: Net::SMTP and a hash of arrays

2005-09-02 Thread Gretar M Hreggvidsson
Hi Ryan! (My MTA is playing with me, so if you are receiving this for the second time I'm deeply sorry!) Do yourself a big favor and use warnings and strict: #!/usr/bin/perl -w use strict; If you had done that you would immediately have spotted the problem, which was a missing dol

Re: Net::SMTP and a hash of arrays

2005-09-02 Thread Gretar M Hreggvidsson
Hi Ryan! Do yourself a big favor and use warnings and strict: #!/usr/bin/perl -w use strict; If you had done that you would immediately have spotted the problem, which was a missing dollar sign for the rcpts element in the line: > $email->recipient(@{ rcpts{$server} }); Shoul

Re: Net::SMTP and a hash of arrays

2005-09-02 Thread Ramprasad A Padmanabhan
$email->recipient(@{ rcpts{$server} }); Thats the error IMHO TRY @{$rcpts{$server}} Ram -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Net::SMTP : how to include sender address ?

2005-08-09 Thread gui
Octavian Rasnita wrote: > I guess you want to add it into the header of the message: > > $smtp->datasend("From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: This is the subject I made that guess a short while after I send the message. turn out : $smtp->datasend("From: "); was the answer

Re: Net::SMTP : how to include sender address ?

2005-08-09 Thread Octavian Rasnita
I guess you want to add it into the header of the message: $smtp->datasend("From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: This is the subject This is the body of the message (after an empty line. "); - Original Message - From: "gui" <[EMAIL PROTECTED]> To: Sent: Monday, August

Re: Net::SMTP change port

2004-11-19 Thread Wiggins d Anconia
> I am using Net::SMTP to send mails to an SMTP server. > If the server is running on a non std port how do I send mails to this > port > > Thanks > Ram You should be able to tack on the port with a colon for the host during object construction. The host gets passed through to IO::Socket::INET w

Re: Net::SMTP error handling

2004-07-01 Thread Wiggins d Anconia
> "Unless otherwise stated all methods return either a *true* or *false* > value, with *true* meaning that the operation was a success." > > So sayeth the perldocs, but where is information about the error? With docs > like this do you assume it's ${!}, or could it be that other thing (I think I

Re: Net::SMTP auth()

2003-10-29 Thread Josimar Nunes de Oliveira
The sequence is: new() auth() mail() to() data() datasend() dataend() quit() Josimar - Original Message - From: "Dan Muey" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 28, 2003 6:33 PM Subject: Net::SMTP auth() Any one know at what point one needs to do auth() i

RE: Net::SMTP auth()

2003-10-28 Thread Dan Muey
> The sequence is: > > new() > auth() > mail() > to() > data() > datasend() > dataend() > quit() > > Josimar Thanks Josimar! -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: NET::SMTP sometimes loses From: line

2002-12-17 Thread Robert Monical
Yes, yes, yes Adding $smtp->datasend ("From: $From\n") did it! Thank you so much At 01:45 PM 12/17/2002 +, Rob Dixon wrote: Hi Robert I'm guessing to a large extent here, but RFC821 says >> Notice that the forward-path and reverse-path appear in the SMTP commands and repli

Re: NET::SMTP sometimes loses From: line

2002-12-17 Thread Rob Dixon
Hi Robert I'm guessing to a large extent here, but RFC821 says >> Notice that the forward-path and reverse-path appear in the SMTP commands and replies, but not necessarily in the message. That is, there is no need for these paths and especially this syntax to appear in the "To:" , "From:", "CC:

Re: Net::SMTP

2002-11-15 Thread Tom Allison
Ramprasad A Padmanabhan wrote: There is no problem in this line ( only 'yourdomain' is not a qualified domainname I hope you have taken care ) There must be some other problem in the code or otherwise. If you can change the domainname to your own server and start smtp server in debug mode and c

Re: Net::SMTP

2002-11-15 Thread Tom Allison
Ramprasad A Padmanabhan wrote: There is no problem in this line ( only 'yourdomain' is not a qualified domainname I hope you have taken care ) There must be some other problem in the code or otherwise. If you can change the domainname to your own server and start smtp server in debug mode and c

Re: Net::SMTP

2002-11-14 Thread Ramprasad A Padmanabhan
There is no problem in this line ( only 'yourdomain' is not a qualified domainname I hope you have taken care ) There must be some other problem in the code or otherwise. If you can change the domainname to your own server and start smtp server in debug mode and check you can learn better Tom

Re: Net::SMTP Values

2002-10-10 Thread Ramprasad A Padmanabhan
Jessee Parker wrote: > How do you get the return values for NET::SMTP calls like for instance >$smtp->datasend() to check if it sent out correctly? TIA > > Jessee > $result = $smtp->datasend($data); $result is 1 on success undef otherwise Ram -- To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

Re: Net::SMTP

2002-07-23 Thread Sudarshan Raghavan
On Tue, 23 Jul 2002, Manya wrote: > > > Have you installed Net::SMTP, it comes as a part of libnet package. > > If you have installed it check that the install directory is a > > part of the @INC array. > > > > How to check if a module is installed or not ? If you are getting an error like 'Ca

Re: Net::SMTP

2002-07-23 Thread Wiggins d'Anconia
Manya wrote: >>Have you installed Net::SMTP, it comes as a part of libnet package. >>If you have installed it check that the install directory is a >>part of the @INC array. >> > > > How to check if a module is installed or not ? > Depends on what system you are on. In your original message t

Re: Net::SMTP

2002-07-23 Thread Manya
> Have you installed Net::SMTP, it comes as a part of libnet package. > If you have installed it check that the install directory is a > part of the @INC array. > How to check if a module is installed or not ? Manya --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (

Re: Net::SMTP

2002-07-22 Thread Sudarshan Raghavan
On Tue, 23 Jul 2002, Manya wrote: > Hi > I am new to Perl. > My prog. goes like this > > use Net::SMTP > > > --- > it gives the message can not locate Net/SMTP.pm in Have you installed Net::SMTP, it comes as a part of libnet package. If you have installed it check that the install d

Re: net::smtp and timestamp?

2002-02-26 Thread Elaine -HFB- Ashton
Jonathan Chan [[EMAIL PROTECTED]] quoth: *>howdy, *> *>when using sending an automated email using net::smtp the time stamp is not *>set correctly and the date line is not included in the headers. *> *>is there a way to include the correct time stamp in the headers? http://www.perl.com/doc/FAQs/

Re: Net::Smtp help!

2002-02-12 Thread Jenda Krynicky
> >can anyone tell me who my subject line is not appearing when I use > >the following code, everything else works except that! > > I am on a Win98 system and all $variables are gathered from a > > form, as I said, all the other details appear except the subject. > > > >#!C:\Perl\bin\perl.exe

RE: Net::SMTP

2001-08-16 Thread Jensen, John T
nt: Friday, 17 August 2001 9:27 a.m. To: Jensen, John T; '[EMAIL PROTECTED]' Subject:Re: Net::SMTP --- "Jensen, John T" <[EMAIL PROTECTED]> wrote: > I have installed Active PERL 5.6 on two machines here, one NT4, one W2K. I > want to use the Net:SMTP mod

Re: Net::SMTP

2001-08-16 Thread Curtis Poe
--- "Jensen, John T" <[EMAIL PROTECTED]> wrote: > I have installed Active PERL 5.6 on two machines here, one NT4, one W2K. I > want to use the Net:SMTP module, which is nicely described in the help > files, but the module itself is not there in either installation. Can > anyone help me here? >

Re: Net::SMTP and Bcc Usage

2001-05-31 Thread Michael Fowler
On Thu, May 31, 2001 at 06:43:34PM +, scott lutz wrote: > I have looked through all of the doc and even searched CPAN, but can find no > reference to using the Bcc feature. > > # Send the header. > $smtp->datasend("To: test <$address_1>\n"); > $smtp->datasend("Bcc: test2 <$address_2>\n"); >