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

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.

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

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: > >> I h

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

Re: Net::SMTP

2012-04-26 Thread Lesley Binks
. 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, Somu som@gmail.com wrote: SMTP is a Protocol, which uses

Re: Net::SMTP

2012-04-24 Thread Somu
the surface... On Tue, Apr 24, 2012 at 6:26 AM, Michael Rasmussen mich...@jamhome.uswrote: 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

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, Somu

Re: Net::SMTP

2012-04-24 Thread Somu
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, Somu som@gmail.com wrote: SMTP

Re: Net::SMTP

2012-04-24 Thread Leo Susanto
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 leosusa...@gmail.com wrote: Gmail is implementing secure SMTP, so plain SMTP won't work. use Net::SMTP::TLS

Re: Net::SMTP

2012-04-24 Thread Michael Rasmussen
PM, Leo Susanto leosusa...@gmail.com 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.com', Port = 587, User = 'x...@gmail.com

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 $!; # print $smtp

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.com # my

Re: Sending files efficiently with Net::SMTP

2012-04-02 Thread Jenda Krynicky
From: mailing lists listas.cor...@yahoo.es 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

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 with %s, $myid

Re: Sending files efficiently with Net::SMTP

2012-02-23 Thread Igor Dovgiy
; ... -- iD 2012/2/23 mailing lists listas.cor...@yahoo.es 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

Re: Sending files efficiently with Net::SMTP

2012-02-23 Thread Igor Dovgiy
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 with %s, $myid

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(); $smtp-datasend(Subject

Re: Net::SMTP envelop from query

2011-09-13 Thread Jeff Pang
13 сентября 2011, 14:29 от Agnello George agnello.dso...@gmail.com: 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

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.com' ; my $sub

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 agnello.dso...@gmail.comwrote: 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

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 rco...@gmail.com wrote: On Thu, Nov 4, 2010 at 9:50 AM, Agnello George agnello.dso...@gmail.comwrote: HI i wrote a small simple script using Net::smtp however my local MTA is not accepting the mail here is the script

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.com' ; my $sub

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
); $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 again. $smtp-datasend($file); $smtp-dataend

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 help

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 contents are printed. Here

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 separating

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

2007-02-02 Thread Mumia W.
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 again. $smtp-datasend($file); $smtp-dataend(); $smtp-quit; } #print $file; # this actually prints

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,

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

Re: use Net::SMTP with Exchange server

2006-12-13 Thread Jenda Krynicky
? 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 it comes to wine, women and song, wizards

Re: use Net::SMTP with Exchange server

2006-12-13 Thread OXx
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 lowlevel. Use MIME::Lite or Mail::Sender, I believe

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

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] http://learn.perl.org/ http://learn.perl.org/first-response

Re: Net::SMTP and a hash of arrays

2005-09-02 Thread Gretar M Hreggvidsson
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 PROTECTED]', '[EMAIL PROTECTED]' ], 'mail.domain1.com' = [ '[EMAIL

Re: Net::SMTP and a hash of arrays

2005-09-02 Thread Gretar M Hreggvidsson
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 the recipients - a hash of arrays!! woohoo! my

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 the recipients

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. how can I add a sender address

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

2005-08-09 Thread Octavian Rasnita
: 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 mail() would to that, since it's the only method

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: email address); was the

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.org/first

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 which

Re: Net::SMTP error handling

2004-07-01 Thread Wiggins d Anconia
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 object itself through the inherited methods

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

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.miswebdesign.com

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

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

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::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 modules today but I can't

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( Date: $date\n ); I'm not sure

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]; print Calculated: $calc\n,

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 Karunarathne

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. The authors must implement the modules

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:54 Central

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. This prints Sun,

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: 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 blank. 2 ) I cannot reply

RE: Sent time in a Net::SMTP mail

2003-01-03 Thread Aman Thind
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 following two issues : See

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 timezone is

RE: Sent time in a Net::SMTP mail

2003-01-03 Thread Aman Thind
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 thought I should bring to your notice... The time

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 i caught the

How to add atachments in NET::SMTP

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

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 croon as much as they like

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

Re: NET::SMTP sometimes loses From: line

2002-12-17 Thread Rob Dixon
- 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 Hello, I have a perl program that sends out mail. It has been in production since 1998. It works fine in most

Re: NET::SMTP sometimes loses From: line

2002-12-17 Thread Robert Monical
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 want to do that since I do not know much about SMTP. Is there any way to get NET::SMTP to work with the ISPs like mail.megapath.net? Robert Monical [EMAIL

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:

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 even looked through RFC 822 and 2821 for hints... but I

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: Message

Re: cc and bcc in Net::SMTP

2002-12-04 Thread Peter_Farrar
] | | Subject: Re: cc and bcc in Net::SMTP | --| the Net::SMTP methods implement the SMTP

Re: Net::SMTP

2002-11-15 Thread Tom Allison
, but no luck $smtp = Net::SMTP-new(yourdomain, Hello = mydomain); gives me: Invalid argument at ./verify.pl line 92, DATA line 16. -- When you have to kill a man it costs nothing to be polite. -- Winston Churchill, on formal declarations of war -- To unsubscribe, e-mail: [EMAIL PROTECTED

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

Net::SMTP

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

Re: Net::SMTP

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

Re: Net::SMTP Values

2002-10-11 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

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

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 12:28:39

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

Net::SMTP / HTML

2002-09-11 Thread Sven Bentlage
Hi everyone! I am using the Net::SMTP module to send some confirmation emails. Until now I sent just plain text emails, but now I'd like to produce a html mail. Both email clients I tested (mail.app / Outlook Express 6) only display the source code. Could anybody give me a hint, where to look

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

Net::SMTP

2002-07-23 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 PATH 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

Re: Net::SMTP

2002-07-23 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 PATH Have you installed Net::SMTP, it comes as a part of libnet package. If you have installed it check that the install

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-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 the error

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 'Can't locate

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 display errors if there were any. I have

using Net::SMTP

2002-06-20 Thread Nate Brunson
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 read the man page on it and cant figure out a way to do this any help would

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 read the man page

Net::SMTP question

2002-06-13 Thread Nate Brunson
I have been working on a simple mail script using Net::SMTP; and the script works fine...but I was wondering, we had some coldfusion mail scripts, that were written by an e-commerce company, stop working... then i was going over my code and i realized that I never used $smtp-quit; DUN dun dun

Re: How to send an email without Net::SMTP

2002-06-07 Thread Eric Wang
Use Mail::Sendmail Eric On Wed, 5 Jun 2002, Octavian Rasnita wrote: Hi all, Is it complicated to send email with an SMTP mail server if the Net::SMTP module is not installed? Thank you. Teddy, [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

How to send an email without Net::SMTP

2002-06-06 Thread Octavian Rasnita
Hi all, Is it complicated to send email with an SMTP mail server if the Net::SMTP module is not installed? Thank you. Teddy, [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

sending mail using Net::SMTP client

2002-05-10 Thread David Ravikumar
Hi, I am trying to send a mail via Net::SMTP The code is below $smtp = Net::SMTP-new(smtp.domain.com); $smtp-to([EMAIL PROTECTED]); $smtp-data(); $smtp-datasend(To: [EMAIL PROTECTED]); $smtp-datasend(From: [EMAIL PROTECTED] \n); $smtp-datasend(Subject

Re: sending mail using Net::SMTP client

2002-05-10 Thread Felix Geerinckx
on Fri, 10 May 2002 07:12:48 GMT, [EMAIL PROTECTED] (David Ravikumar) wrote: $smtp-to([EMAIL PROTECTED]); $smtp-datasend(To: [EMAIL PROTECTED]); $smtp-datasend(From: [EMAIL PROTECTED] \n); Within double quotes, you should escape your '@'. Either write sd\@sd.com or use

Net::SMTP Question

2002-04-11 Thread David Simcik
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-new('mydomain.com', Timeout= 15, Debug

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 broadcast.com

  1   2   >