Re: configuring Net::SMTP

2023-07-15 Thread perl
Many thanks to Bob, Olivier, Claude, and Andinus. I learned from all your comments, and I got the Net::SMTP working! Rick > On Jul 9, 2023, at 8:03 AM, Bob Kardell wrote: > > One thing to check from experience - make sure hostgator does not block > outbound SMTP ports. Many d

Re: configuring Net::SMTP

2023-07-09 Thread Bob Kardell via beginners
One thing to check from experience - make sure hostgator does not block outbound SMTP ports. Many do to prevent spam. I spent hours trying to configure Net::SMTP on a different host only to discover the code was working but the email was being blocked. If hostgator received it it may be

Re: configuring Net::SMTP

2023-07-08 Thread Olivier
Rick T writes: > [1:text/plain Show] > > > [2:text/html Hide Save:noname (4kB)] > > I have two subroutines (below) in a program that uses Net::SMTP. I’ve > recently moved my site from FutureQuest.net to Hostgator.com, and this part > of my program has stopped working. Th

RE: configuring Net::SMTP

2023-07-08 Thread Claude Brown via beginners
Hi Rick, We use Net::SMTP to send emails via SendGrid. They require a user/pass authentication over SSL and I wonder if that is what is going wrong in your case. The other thing worth doing is checking the return-value of each SMTP call as something may be going wrong silently. Below is a

Re: configuring Net::SMTP

2023-07-08 Thread perl
> > You can also try NET::SMTP->new(Debug => 1) and send an email, it might > provide useful info. > > Maybe this answer on stackoverflow might be helpful > https://stackoverflow.com/a/10008814 > > Have a good day! > > Rick T @ 2023-07-08 08:37 -07: > >>

configuring Net::SMTP

2023-07-08 Thread Rick T
I have two subroutines (below) in a program that uses Net::SMTP. I’ve recently moved my site from FutureQuest.net <http://futurequest.net/> to Hostgator.com <http://hostgator.com/>, and this part of my program has stopped working. The first routine sends an analysis of a t

Re: Net::SMTP

2012-04-26 Thread Lesley Binks
it can be used - http://knowledge.legend.co.uk/taxonomy/term/2 might be a good read here. But at least he has learnt there are two other ports besides port 25 used in messaging systems on the internet. Regards Lesley > > > >On Tue, Apr 24, 2012 at 10:38 PM, Leo Susanto > > w

Re: Net::SMTP

2012-04-24 Thread Michael Rasmussen
barn.michaelsnet.us. On Tue, Apr 24, 2012 at 10:38 PM, Leo Susanto wrote: 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

Re: Net::SMTP

2012-04-24 Thread Leo Susanto
nd 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. >> >> use Net::

Re: Net::SMTP

2012-04-24 Thread Somu
7;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', > > &g

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...@gma

Re: Net::SMTP

2012-04-24 Thread Somu
eneath the surface... On Tue, Apr 24, 2012 at 6:26 AM, Michael Rasmussen wrote: > 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 > > > > ___

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; &

Net::SMTP

2012-04-23 Thread Somu
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.com # my $smtp = Net::SMTP->new('smtp.gmail.com') or die

Re: Sending files efficiently with Net::SMTP

2012-04-02 Thread Jenda Krynicky
From: mailing lists > I have a perl (Ver. 5.10.0) program running over an old machine which send > messages with this code: > > >     my $smtp = Net::SMTP->new($dstMailServer, Timeout=>10, Debug=>0,); >     unless(defined($smtp)){ >     syslog

Re: Sending files efficiently with Net::SMTP

2012-02-23 Thread Igor Dovgiy
\n"; > $smtp->data(\@msg_content) > or die 'Sending failed', "\n"; > ... > > > > -- iD > > 2012/2/23 mailing lists > >> Hello all, >> >> >> I have a perl (Ver. 5.10.0) program running over an old machine which >&

Re: Sending files efficiently with Net::SMTP

2012-02-23 Thread Igor Dovgiy
uot;\r\n"; $smtp->data(\@msg_content) or die 'Sending failed', "\n"; ... -- iD 2012/2/23 mailing lists > Hello all, > > > I have a perl (Ver. 5.10.0) program running over an old machine which send > messages with this code: > > > my $sm

Sending files efficiently with Net::SMTP

2012-02-23 Thread mailing lists
Hello all, I have a perl (Ver. 5.10.0) program running over an old machine which send messages with this code:     my $smtp = Net::SMTP->new($dstMailServer, Timeout=>10, Debug=>0,);     unless(defined($smtp)){     syslog LOG_INFO, "id:%s error: unable to connect w

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

Net::SMTP envelop from query

2011-09-13 Thread 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 .. . thanks a million : $smtp->mail($from); $smtp->to($to); $smtp->data(); $sm

Re: using Net::SMTP unable to send out a mail

2010-11-04 Thread Agnello George
On Thu, Nov 4, 2010 at 2:40 PM, Rob Coops wrote: > > > On Thu, Nov 4, 2010 at 9:50 AM, Agnello George > wrote: > >> HI >> >> i wrote a small simple script using Net::smtp however my local MTA is not >>

Re: using Net::SMTP unable to send out a mail

2010-11-04 Thread Rob Coops
On Thu, Nov 4, 2010 at 9:50 AM, Agnello George wrote: > HI > > i wrote a small simple script using Net::smtp however my local MTA is not > accepting the mail here is the script : > > > = > > #!/usr/bin/perl > > use

using Net::SMTP unable to send out a mail

2010-11-04 Thread Agnello George
HI i wrote a small simple script using Net::smtp however my local MTA is not accepting the mail here is the script : = #!/usr/bin/perl use strict; use warnings; use Net::SMTP; use Getopt::Long; my $from = '' || 'sys...@server1

using Net::SMTP unable to sen out a mail

2010-11-03 Thread Agnello George
HI i wrote a small simple script using Net::smtp however my local MTA is not accepting the mail here is the script : = #!/usr/bin/perl use strict; use warnings; use Net::SMTP; use Getopt::Long; my $from = '' || 'sys...@server1

Net::SMTP::TLS results "EHLO command failed: 220 We do not authorize the use of this system to transport unsolicited, at cgicgi-akun.cgi line 855"

2008-04-02 Thread Patrik Hasibuan
Dear my friends... I am trying to sending an e-mail with Perl::CGI. But It does not work as I expect. This is the error message: EHLO command failed: 220 We do not authorize the use of this system to transport unsolicited, at cgicgi-akun.cgi line 855 line 855 contains: $smtp = Net::SMTP::TLS

Re: sending a variable in a Net::SMTP message not working

2007-02-03 Thread Romeo Theriault
p->mail($from); >$smtp->to($to); >$smtp->data(); >$smtp->datasend("To: $to\n"); >$smtp->datasend("Subject: $subject\n"); Try sending a blank line here: $smpt->datasend("\n"); A blank line typically separates the h

Re: sending a variable in a Net::SMTP message not working

2007-02-02 Thread Mumia W.
send("To: $to\n"); $smtp->datasend("Subject: $subject\n"); Try sending a blank line here: $smpt->datasend("\n"); A blank line typically separates the headers from the beginning of message data. Look at the example at the top of the POD for Net::SMTP ag

Re: sending a variable in a Net::SMTP message not working

2007-02-02 Thread Jeremy Kister
On 2/2/2007 3:25 PM, Romeo Theriault wrote: $smtp->mail($from); $smtp->to($to); $smtp->data(); $smtp->datasend("To: $to\n"); $smtp->datasend("Subject: $subject\n"); $smtp->datasend($file); $smtp->dataend(); Does $file begin with an empty line? If not, you're not sep

Re: sending a variable in a Net::SMTP message not working

2007-02-02 Thread John W. Krahn
Romeo Theriault wrote: > Hello, I'm trying to send a variable in a email using Net::SMTP. For some > reason no matter what I do the contents of the variable are not sent. I > know the variable holds the information I want because if I do a > > print $file; > > the con

sending a variable in a Net::SMTP message not working

2007-02-02 Thread Romeo Theriault
Hello, I'm trying to send a variable in a email using Net::SMTP. For some reason no matter what I do the contents of the variable are not sent. I know the variable holds the information I want because if I do a print $file; the contents are printed. Here is the program. Thanks for any

Re: use Net::SMTP with Exchange server

2006-12-14 Thread Jenda Krynicky
From: OXx <[EMAIL PROTECTED]> > Thanks for your answer, I will use Mail::Sender > > But which authentication could I use ? NTLM ? NTLM is very likely to be supported, but you should ask the server what protocols are supported. Have a look at the QueryAuthProtocols in Mail::Sender's docs. HTH,

Re: use Net::SMTP with Exchange server

2006-12-13 Thread OXx
p module with a > Exchange Server. In fact , I think with Exchange Server, we have a > SMTP authentification so a simple perl script whithout > authentification does not work. Could I use "auth" parameters? If > someone has an example and can help me . Net::SMTP is usually too lowlev

Re: use Net::SMTP with Exchange server

2006-12-13 Thread Jenda Krynicky
Could I use "auth" parameters? If > someone has an example and can help me . Net::SMTP is usually too lowlevel. Use MIME::Lite or Mail::Sender, I believe both contain some authentication examples in their docs. Jenda = [EMAIL PROTECTED] === http://Jenda.Krynicky.cz = When i

use Net::SMTP with Exchange server

2006-12-13 Thread OXx
Hello all, I would like to know if it possible to use Net:smtp module with a Exchange Server. In fact , I think with Exchange Server, we have a SMTP authentification so a simple perl script whithout authentification does not work. Could I use "auth" parameters? If someone has an example and can h

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

Net::SMTP module

2006-04-03 Thread Sonika Sachdeva
What is the correct method to authenticate for sending mails , I found auth(). But its not working...

Re: Net::SMTP and a hash of arrays

2005-09-02 Thread Gretar M Hreggvidsson
> > > > I need to send an email to several different recipients, all at > different mail servers. I thought that a hash of arrays (my first time) > would do the job nicely, but Net::SMTP complains that I can't "coerce > array into hash". > > Here's

Re: Net::SMTP and a hash of arrays

2005-09-02 Thread Gretar M Hreggvidsson
a hash of arrays (my first time) would do the job nicely, but Net::SMTP complains that I can't "coerce array into hash". Here's my script (Win32): # hash the recipients -> a hash of arrays!! woohoo! my %rcpts = ( 'mail.domain0.com' => [ '[EMAIL PROTE

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]

Net::SMTP and a hash of arrays

2005-09-01 Thread Ryan Frantz
Perlers, I need to send an email to several different recipients, all at different mail servers. I thought that a hash of arrays (my first time) would do the job nicely, but Net::SMTP complains that I can't "coerce array into hash". Here's my script (Win32): # hash

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
TECTED]> To: Sent: Monday, August 08, 2005 8:17 PM Subject: Net::SMTP : how to include sender address ? > Hi, > > I'm playing around with the Net::SMTP module. I can send email > correctly, but each ones I send there's no sender's address. > > I thought that using

Net::SMTP : how to include sender address ?

2005-08-09 Thread gui
Hi, I'm playing around with the Net::SMTP module. I can send email correctly, but each ones I send there's no sender's address. I thought that using mail() would to that, since it's the only method that takes the sender's address as parameter. but that's not it.

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 t

Net::SMTP change port

2004-11-19 Thread Ramprasad A Padmanabhan
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 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.

Re: Net::SMTP error handling

2004-07-01 Thread Wiggins d Anconia
be that other thing (I think I > saw something like $^E on this list - what is that?), or some package variable? > Remember this is open source so you are free to check for yourself. Net::SMTP inherits from Net::Cmd. Which means you can check the error message, code, or status from the

Net::SMTP error handling

2004-06-30 Thread perl.org
"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 saw someth

Net::SMTP Problem - Bad Protocol

2004-02-06 Thread Nigel Peck - MIS Web Design
I have a problem with Net::SMTP running a Win32 server (groan). It works fine from the command line but when I try it through cgi I get: Net::SMTP: Bad protocol 'tcp' at... All help greatly appreciated :) Cheers, Nigel Managing Director MIS Web Design http://www.misweb

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 poin

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]

Net::SMTP auth()

2003-10-28 Thread Dan Muey
Any one know at what point one needs to do auth() in a standard Net::SMTP session? Do I do it first thing after new or ?? I'm currently doing: new() mail() to() data() datasend() quit() So where do I put auth() in all that? Thanks! Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED

Net::SMTP::Multipart Module

2003-01-27 Thread Dan Muey
Hello List, If any one could shed some light on what I'm missing/what the errors mean I'd sure appreciate it! I'm trying to install the Net::SMTP::Multipart Module http://search.cpan.org/author/DROBERTS/Net-SMTP-Multipart-1.5/Multipart.pm I've installed several modul

Re: Sent time in a Net::SMTP mail

2003-01-06 Thread Jenda Krynicky
From: "LRMK" <[EMAIL PROTECTED]> > why don't u try MIME::Lite to create mail massage > and send it using Net::SMTP or anything > it has ready mate attachment adding facility and it adds > date and time automatically. Modules have their authors

Re: Sent time in a Net::SMTP mail

2003-01-06 Thread LRMK
why don't u try MIME::Lite to create mail massage and send it using Net::SMTP or anything it has ready mate attachment adding facility and it adds date and time automatically. Sign L Rakhitha Malinda Karunarathne Web :- rakhitha.cjb.net Email :[EMAIL PROTECTED] Rakhitha Malinda Karunar

Re: Sent time in a Net::SMTP mail

2003-01-06 Thread John W. Krahn
Jenda Krynicky wrote: > > From: "John W. Krahn" <[EMAIL PROTECTED]> > > > > $ perl -MPOSIX -MTime::Local -e' > > $local = time; > > $gm = timelocal( gmtime $local ); > > $sign = qw( + + - )[ $local <=> $gm ]; > > $calc = sprintf "%s%02d%02d", $sign, (gmtime abs( $local - $gm > > ))[2,1]; > > > > p

Re: Sent time in a Net::SMTP mail

2003-01-06 Thread Jenda Krynicky
From: "John W. Krahn" <[EMAIL PROTECTED]> > Jenda Krynicky wrote: > > > > From: "John W. Krahn" <[EMAIL PROTECTED]> > > > Or, you could do it the "correct" way. :-) > > > > > > use POSIX 'strftime'; > > > > > > my $date = strftime '%a, %d %b %Y %H:%M:%S %z', localtime; > > > $smtp->datasend( "Dat

Re: Sent time in a Net::SMTP mail

2003-01-05 Thread John W. Krahn
Jenda Krynicky wrote: > > From: "John W. Krahn" <[EMAIL PROTECTED]> > > Or, you could do it the "correct" way. :-) > > > > use POSIX 'strftime'; > > > > my $date = strftime '%a, %d %b %Y %H:%M:%S %z', localtime; > > $smtp->datasend( "Date: $date\n" ); > > I'm not sure this is the correct way. >

Re: Sent time in a Net::SMTP mail

2003-01-05 Thread Jenda Krynicky
From: "John W. Krahn" <[EMAIL PROTECTED]> > Or, you could do it the "correct" way. :-) > > use POSIX 'strftime'; > > my $date = strftime '%a, %d %b %Y %H:%M:%S %z', localtime; > $smtp->datasend( "Date: $date\n" ); I'm not sure this is the correct way. This prints Sun, 05 Jan 2003 18:42:

Re: Sent time in a Net::SMTP mail

2003-01-03 Thread John W. Krahn
Jenda Krynicky wrote: > > #time diference to GMT - Windows will not set $ENV{'TZ'}, if you know a better way >... > my $GMTdiff; > { > my $time = time(); > my @local = (localtime($time))[2,1,3,4,5]; # hour, minute, mday, month, >year; I don't mind year is 1900 based and month 0-1

Re: How to add atachments in NET::SMTP

2003-01-03 Thread Jenda Krynicky
From: "LRMK" <[EMAIL PROTECTED]> > How to add atachments in NET::SMTP > You use either MIME::Lite or Mail::Sender. Jenda = [EMAIL PROTECTED] === http://Jenda.Krynicky.cz = When it comes to wine, women and song, wizards are allowed to get drunk and croo

How to add atachments in NET::SMTP

2003-01-03 Thread LRMK
How to add atachments in NET::SMTP

RE: Sent time in a Net::SMTP mail

2003-01-03 Thread Jenda Krynicky
From: Aman Thind <[EMAIL PROTECTED]> > Apparently the time zones are correct on my machine. > > Statements : > print scalar(localtime)."\n"; > print scalar(gmtime)."\n"; > > Output : > Fri Jan 3 20:35:34 2003 > Fri Jan 3 15:05:34 2003 > > India is +5:30. > > However I think

RE: Sent time in a Net::SMTP mail

2003-01-03 Thread Aman Thind
] Sent: Friday, January 03, 2003 8:37 PM To: [EMAIL PROTECTED] Subject: RE: Sent time in a Net::SMTP mail From: Aman Thind <[EMAIL PROTECTED]> > Thanks a lot Jenda...u're a real wizard :) Shame I can't even get drunk :-} > There are still just two minor issues which I tho

RE: Sent time in a Net::SMTP mail

2003-01-03 Thread Jenda Krynicky
From: Aman Thind <[EMAIL PROTECTED]> > Thanks a lot Jenda...u're a real wizard :) Shame I can't even get drunk :-} > There are still just two minor issues which I thought I should bring > to your notice... > > The time displayed is 30 mins more than the actual time here. Are you sure the timez

RE: Sent time in a Net::SMTP mail

2003-01-03 Thread Aman Thind
the email address ? Thanks again aman -Original Message- From: Jenda Krynicky [mailto:[EMAIL PROTECTED]] Sent: Friday, January 03, 2003 7:38 PM To: [EMAIL PROTECTED] Subject: Re: Sent time in a Net::SMTP mail From: Aman Thind <[EMAIL PROTECTED]> > Please help me sort the followin

Re: Sent time in a Net::SMTP mail

2003-01-03 Thread Jenda Krynicky
From: Aman Thind <[EMAIL PROTECTED]> > Please help me sort the following two issues : See below. > 1 ) I cannot display the Sent time in MS Outlook in a mail generated > using Net::SMTP. > With the code I am using , the Sent field in the Outlook pane > comes >

Sent time in a Net::SMTP mail

2003-01-03 Thread Aman Thind
Hi all, Please help me sort the following two issues : 1 ) I cannot display the Sent time in MS Outlook in a mail generated using Net::SMTP. With the code I am using , the Sent field in the Outlook pane comes blank. 2 ) I cannot reply to the mail received using this code.The email address

Re: NET::SMTP sometimes loses From: line

2002-12-17 Thread Robert Monical
Return-Path: line is fine. > This occurs on Solaris, Perl 5.005 and RedHat 7.2, Perl 5.6.1. > > The problem goes away when I change the outgoing mail server to my > internal SMTP server. (An Internet appliance). > > I guess the right answer is to run my own SMTP server. Do not

Re: NET::SMTP sometimes loses From: line

2002-12-17 Thread Rob Dixon
27;To: ') in your code. Try adding an equivalent 'From: ' line. HTH, Rob - Original Message - From: "Robert Monical" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 16, 2002 10:07 PM Subject: NET::SMTP sometimes loses From: line &g

NET::SMTP sometimes loses From: line

2002-12-16 Thread Robert Monical
. Is there any way to get NET::SMTP to work with the ISPs like mail.megapath.net? Is there a tool that might work? TIA Robert Monical [EMAIL PROTECTED] (mailing list stuff) [EMAIL PROTECTED] (everything else) www.restek.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Net::SMTP::Server

2002-12-10 Thread Tom Allison
Any idea how you return an exitcode after the $client->process step is completed? According to the perldoc, there isn't really any way to do this. I'm hoping for a loophole of sorts. -- FORCE YOURSELF TO RELAX! -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAI

Re: cc and bcc in Net::SMTP

2002-12-04 Thread Peter_Farrar
c: [EMAIL PROTECTED] | | Subject: Re: cc and bcc in Net::SMTP | >------| the Net

Re: cc and bcc in Net::SMTP

2002-12-04 Thread George Schlossnagle
the Net::SMTP methods implement the SMTP protocol. Net::SMTP::to (and cc and bcc) simply set the data to be passed as a RCPT TO: command. This set's the envelope recipient on a mail, which is how your mta (and others) know who the mail is going to. cc: and bcc: (and things like Date: Me

cc and bcc in Net::SMTP

2002-12-04 Thread Peter_Farrar
Hi, The 'cc' and 'bcc' methods in Net::SMTP seem to simply alias the 'to' method. How do I actually 'cc' and 'bcc' in Net::SMTP? I tried putting these in the DATA area (though it doesn't really make sense to me to do it that way). I

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
option, but no luck $smtp = Net::SMTP->new("yourdomain", Hello => "mydomain"); gives me: Invalid argument at ./verify.pl line 92, line 16. -- When you have to kill a man it costs nothing to be polite. -- Winston Churchill, on formal declarations of war --

Re: Net::SMTP

2002-11-14 Thread Ramprasad A Padmanabhan
tter Tom Allison wrote: I'm trying to connect to a server while using a HELO option, but no luck $smtp = Net::SMTP->new("yourdomain", Hello => "mydomain"); gives me: Invalid argument at ./verify.pl line 92, line 16. -- To unsubscribe, e-mail: [EMAIL PROTECTED

Net::SMTP

2002-11-14 Thread Tom Allison
I'm trying to connect to a server while using a HELO option, but no luck $smtp = Net::SMTP->new("yourdomain", Hello => "mydomain"); gives me: Invalid argument at ./verify.pl line 92, line 16. -- When you have to kill a man it costs nothing to be polite.

Re: strange trace results using Net::SMTP and Mail::Sender

2002-10-11 Thread Jenda Krynicky
From: "Jessee Parker" <[EMAIL PROTECTED]> > I don't know if this points to a bug in my operating system, a bug in > my code or if it's normal but basically when I use these modules and > run a strace (using Linux 7.3) it gives me the following: > > 12:28:39 close(3) = 0 > 1

strange trace results using Net::SMTP and Mail::Sender

2002-10-11 Thread Jessee Parker
I don't know if this points to a bug in my operating system, a bug in my code or if it's normal but basically when I use these modules and run a strace (using Linux 7.3) it gives me the following: 12:28:39 close(3) = 0 12:28:39 munmap(0x400c8000, 4096) = 0 12:28:39 clo

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-m

Net::SMTP Values

2002-10-10 Thread Jessee Parker
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

help with MIME::Lite and Net::SMTP

2002-09-06 Thread Ernesto Freyre
Dear Sirs: Please , I would want an idea about how to prepare a message with MIME::Lite but sending it with Net::SMTP, I want this since MIME::Lite doesn´t have control forn bad addresses and I need to perform it with Net::SMTP Thank you in advance. Ernesto Freyre Área de Operaciones Qnet

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 ?

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 y

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-

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 installe

Net::SMTP

2002-07-22 Thread Manya
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 What is wrong? Please help Manya --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.350 / Virus

Net::SMTP

2002-07-19 Thread stephen . redding
Hi having a little trouble installing the Net::SMTP module what pre-requisite modules do i need to install first? think i need : Crypt::DES Digest::HMAC Digest::MD5 and Digest::SHA1 but again having trouble with the make part. do these modules have pre-requisite modules also?? if so which? am

Re: using Net::SMTP

2002-06-21 Thread Ramprasad A Padmanabhan
Drieux wrote: > > On Thursday, June 20, 2002, at 02:02 , Nate Brunson wrote: > >> is there a way I can get Net::SMTP to return errors that it might >> encounter into a variable, or something? >> so that on the page that pops up after the mail is sent, it can >

Re: using Net::SMTP

2002-06-20 Thread drieux
On Thursday, June 20, 2002, at 02:02 , Nate Brunson wrote: > is there a way I can get Net::SMTP to return errors that it might > encounter into a variable, or something? > so that on the page that pops up after the mail is sent, it can display > errors if there were any. I have

Net::SMTP Question

2002-04-11 Thread David Simcik
pient method call - but when I remove it, my scripts break. I'm thinking this should be pretty trivial. If anyone has any thoughts on a better form of error handling for this I'm all ears. My src: sub sendmsg { #Connect to SMTP server and start session $smtp = Net::SMTP-

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

net::smtp and timestamp?

2002-02-26 Thread Jonathan Chan
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? here's what i get: Return-Path: <[EMAIL PROTECTED]> Received: from br

Re: Net::Smtp help!

2002-02-12 Thread Jenda Krynicky
> > >#!C:\Perl\bin\perl.exe -w > >#By Chris Zampese > >use strict; > >use CGI ':standard'; > >use Net::SMTP; > >use LWP::Simple; > > > >$server = 'smtp.slingshot.co.nz'; > >$from= "$name"; > >$to= &

Net::Smtp help!

2002-02-11 Thread Chris Zampese
Zampese use strict; use CGI ':standard'; use Net::SMTP; use LWP::Simple; $server = 'smtp.slingshot.co.nz'; $from= "$name"; $to= "$email$email2"; $subject= 'Ford Butchart Urwin Placing Slip'; $body=$mymessage; $objMail=Net::SMTP->new($server); $ob

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
Can > anyone help me here? > > jj > > John Thayer Jensen, System Administrator > Commerce Computing, University of Auckland John, One way to handle this is to download the Net::SMTP module from the CPAN (you may have to cut-n-paste this URL): http://theoryx5.uwinnipeg.ca/mod_perl

Net::SMTP

2001-08-16 Thread Jensen, John T
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? jj John Thayer Jensen, System Administrator Commerce Comp

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"); >

  1   2   >