Re: Mail::Sender and Precedence: bulk [solved]

2017-04-21 Thread Gary Stainburn
Sorry to both you all. As usual, having posted asking for help I've managed to find the answer. In stripping out all the bits that I thought were not required to make this post I spotted the syntax error that was causing the issue. By putting the code exactly as shown into a dummy program it

Re: Mail::Sender with SSL

2012-08-16 Thread Jenda Krynicky
From: Chris Nehren > On Thu, Aug 16, 2012 at 00:05:56 +0200 , Jenda Krynicky wrote: > > From: Chris Nehren > > > On Tue, Aug 07, 2012 at 17:38:57 + , Thomas Dean wrote: > > > > Hi there, > > > > > > > > I have succeeded in sending mail to my SMTP server with Mail::Sender > > > > without SSL.

Re: Mail::Sender with SSL

2012-08-15 Thread Chris Nehren
On Thu, Aug 16, 2012 at 00:05:56 +0200 , Jenda Krynicky wrote: > From: Chris Nehren > > On Tue, Aug 07, 2012 at 17:38:57 + , Thomas Dean wrote: > > > Hi there, > > > > > > I have succeeded in sending mail to my SMTP server with Mail::Sender > > > without SSL. But now I'm wondering how to do t

Re: Mail::Sender with SSL

2012-08-15 Thread Jenda Krynicky
From: Chris Nehren > On Tue, Aug 07, 2012 at 17:38:57 + , Thomas Dean wrote: > > Hi there, > > > > I have succeeded in sending mail to my SMTP server with Mail::Sender > > without SSL. But now I'm wondering how to do that with SSL, for example, > > GMail. After reading the doc, I set TLS_requ

Re: Mail::Sender with SSL

2012-08-07 Thread Jeff Pang
Also avoid the MIME::Lite suggestion posted, as that module is deprecated and not recommended for new code due to the vagaries and odd bugs in it--also due to the fact that it's not actively maintained or developed any more and just receives an occasional bug fix. what's the better module to h

Re: Mail::Sender with SSL

2012-08-07 Thread Thomas Dean
On Tue, 2012-08-07 at 10:05 -0400, Chris Nehren wrote: > On Tue, Aug 07, 2012 at 17:38:57 + , Thomas Dean wrote: > > Hi there, > > > > I have succeeded in sending mail to my SMTP server with Mail::Sender > > without SSL. But now I'm wondering how to do that with SSL, for example, > > GMail. Af

Re: Mail::Sender with SSL

2012-08-07 Thread Chris Nehren
On Tue, Aug 07, 2012 at 17:38:57 + , Thomas Dean wrote: > Hi there, > > I have succeeded in sending mail to my SMTP server with Mail::Sender > without SSL. But now I'm wondering how to do that with SSL, for example, > GMail. After reading the doc, I set TLS_required to 1 when I'm calling > Mai

Re: Mail::Sender with SSL

2012-08-07 Thread Jeff Pang
I have succeeded in sending mail to my SMTP server with Mail::Sender without SSL. But now I'm wondering how to do that with SSL, for example, GMail. After reading the doc, I set TLS_required to 1 when I'm calling Mail::Sender->new, but nohing works. I tried to debug the program but found nothing

Re: Mail::Sender

2007-01-18 Thread Beginner
On 18 Jan 2007 at 9:55, Brent Clark wrote: > To whom it may concern > > I have a problem whereby on sending an email, my mailserver does not allow > for ip, (needs to be wrapped in [] ). > > >> 220 mail.eccotours.co.za ESMTP Exim (Ecco Tours) 4.63 Wed, 17 Jan 2007 > >> 16:47:41 +0200 > << EHLO

Re: Mail::Sender

2007-01-18 Thread Jeff Pang
Hi, This is the peer email site's behavior,not Perl's behavior. Follow some rfc items (maybe rfc2821 or 2505),you should use your host's FQDN as HELO command's argument.Only when there is not FQDN for the host,you can use IP address as HELO's argument. Exim is a very flexible system,it can be us

Re: Mail::Sender

2005-04-07 Thread Mike Blezien
Try seperating your $toList email addresses with a comma instead of the semi colon Ravinder Arepally wrote: All, I am having problem when I use multiple users in to or cc list while sending a email. I am using Mail::Sender module. I have a list of email addresses in $toList and I am just usi

RE: My stupidity! (WAS RE: Mail::Sender weirdness)

2003-12-30 Thread Dan Muey
> --As off Tuesday, December 30, 2003 12:33 PM -0600, Dan Muey is > alleged to have said: > > >> They are doing the Right Thing and not being an open > relay. Basically > >> the server says *one* of the persons involved has to be > > > > In both cases one is always a local user. But only in one

RE: My stupidity! (WAS RE: Mail::Sender weirdness)

2003-12-30 Thread Daniel Staal
--As off Tuesday, December 30, 2003 12:33 PM -0600, Dan Muey is alleged to have said: They are doing the Right Thing and not being an open relay. Basically the server says *one* of the persons involved has to be In both cases one is always a local user. But only in one case is authentication requ

RE: My stupidity! (WAS RE: Mail::Sender weirdness)

2003-12-30 Thread Dan Muey
> [snip] > > > Right, but my question is why do I need to authenticate local > > to remote and not remote to local not why do I have to > > authenticate at all. I'm well aware of the spam relay fun! :) > > [snip] > > If you are going to authenticate remote to local, that would > mean every

RE: My stupidity! (WAS RE: Mail::Sender weirdness)

2003-12-30 Thread Shawn McKinley
[snip] > Right, but my question is why do I need to authenticate local > to remote and not remote to local not why do I have to > authenticate at all. I'm well aware of the spam relay fun! :) [snip] If you are going to authenticate remote to local, that would mean every email server trying t

RE: My stupidity! (WAS RE: Mail::Sender weirdness)

2003-12-30 Thread Dan Muey
> > > They are doing the Right Thing and not being an open relay. > Basically the server says *one* of the persons involved has to be In both cases one is always a local user. But only in one case is authentication required. > known to it. If the email is for a local user it knows that perso

Re: My stupidity! (WAS RE: Mail::Sender weirdness)

2003-12-30 Thread Daniel Staal
--As off Tuesday, December 30, 2003 11:58 AM -0600, Dan Muey is alleged to have said: So now it said "Connection not established" for the local sending to remote, which I would think would be the easiest one, especially since: Local to local is ok. Remote to local is ok. I'm not doing any remote

My stupidity! (WAS RE: Mail::Sender weirdness)

2003-12-30 Thread Dan Muey
> > > The thing is I get "Sending...Done" everytime but never a > > dleivery and > > > no hinf tof it in the logs. On one server I needed to use smtp > > > authentication but that set $@ and said connection This part of it was completely stupid on my part: I was doing if($@) { ... I added if($@

RE: Mail::Sender weirdness

2003-12-29 Thread Dan Muey
> From: "Dan Muey" <[EMAIL PROTECTED]> > > Here's wht I have: > > $r .= "Sending..."; > > eval { > > my $senderx = new Mail::Sender {smtp => $smtp, from => $from }; > > You forgot to tell Mail::Sender to die in case of an error :-) Oohhh, yeah :) Thanks > > > $senderx->Open({subject =>

Re: Mail::Sender weirdness

2003-12-29 Thread Jenda Krynicky
From: "Dan Muey" <[EMAIL PROTECTED]> > Here's wht I have: > $r .= "Sending..."; > eval { > my $senderx = new Mail::Sender {smtp => $smtp, from => $from }; You forgot to tell Mail::Sender to die in case of an error :-) > $senderx->Open({subject => $subj, to => $to }); > $senderx->SendLineEnc

Re: Mail::Sender question

2003-08-04 Thread Jenda Krynicky
From: "Dan Muey" <[EMAIL PROTECTED]> > For a simple plain text message I do new( with smtp and from) then > Open (with to and subject) Since that is the minimal setup for me. > > What I'd like to do is add headers if they are specifed, after Open() > and SendLineEnc(). No. When Open() or OpenMult

RE: Mail::Sender question

2003-08-04 Thread Jenda Krynicky
From: "Dan Muey" <[EMAIL PROTECTED]> > If I do this: > > use Mail::Sender; > > my $sender = new Mail::Sender {smtp => $ip, from => $frm}; > $sender->Open({ > to => $to, > subject => $sb, > priority => 5, > cc => $cc, > bcc => $bcc, > confirm => $cfm, > }); > $sender->SendLineEnc($msg); > $s

RE: Mail::Sender question

2003-08-04 Thread Dan Muey
> > What I'd like to do is add headers if they are specifed, > after Open() > > and SendLineEnc(). > > No. When Open() or OpenMultipart() returns all headers have already > been sent and the message body is expected. There is no way to add > any more headers. > > Unlike MIME::Lite Mail::Sen

RE: Mail::Sender question

2003-08-04 Thread Dan Muey
> From: "Dan Muey" <[EMAIL PROTECTED]> > > If I do this: > > > > use Mail::Sender; > > > > my $sender = new Mail::Sender {smtp => $ip, from => $frm}; > > $sender->Open({ to => $to, > > subject => $sb, > > priority => 5, > > cc => $cc, > > bcc => $bcc, > > confirm => $cfm, > > }); > > $sen

RE: Mail::Sender question

2003-07-28 Thread Dan Muey
Ok I'll simplify the question: If I do this: use Mail::Sender; my $sender = new Mail::Sender {smtp => $ip, from => $frm}; $sender->Open({ to => $to, subject => $sb, priority => 5, cc => $cc, bcc => $bcc, confirm => $cfm, }); $sender->SendLineEnc($m

RE: Mail Sender in Perl

2003-07-09 Thread Jenda Krynicky
Subject:RE: Mail Sender in Perl From: "Dan Muey" <[EMAIL PROTECTED]> > Now if you want to use it to relay mail off a server that won't let > you relay ( IE most every server besides the one the script's > server/ISP uses) then it won't work

RE: Mail Sender in Perl

2003-07-09 Thread Dan Muey
> Hi! Howdy > > Im looking for information on how to create my own Mail > Sender that connects > to a SMTP Server, I found a few sites, so Im looking for more > information to > start. What do I want? I want to send mails from my perl > source to any smtp > server not mattering if it's ru

Re: Mail Sender in Perl

2003-07-09 Thread Jenda Krynicky
From: Pablo Fischer <[EMAIL PROTECTED]> > Im looking for information on how to create my own Mail Sender that > connects to a SMTP Server, I found a few sites, so Im looking for more > information to start. What do I want? I want to send mails from my > perl source to any smtp server not mattering

Re: Mail Sender in Perl

2003-07-09 Thread Casey West
It was Tuesday, July 08, 2003 when Pablo Fischer took the soap box, saying: : Hi! : : Im looking for information on how to create my own Mail Sender that connects : to a SMTP Server, I found a few sites, so Im looking for more information to : start. What do I want? I want to send mails from my

RE: Mail::Sender ads .dat extension

2003-02-05 Thread Dan Muey
That was exactly it! Works like a bandit! Thank you so much Jenda, I owe you one, actually more like two or three. Your module rocks! Genius of the day goes to you today!! Dan > > > From: "Dan Muey" <[EMAIL PROTECTED]> > > I have a script that generates a pdf file from html. > > > > It genera

Re: Mail::Sender ads .dat extension

2003-02-05 Thread Jenda Krynicky
From: "Dan Muey" <[EMAIL PROTECTED]> > I have a script that generates a pdf file from html. > > It generates it for viewing perfect. > It will email it also. > > However when I email it a .dat extension is added and it won;t work in > Acrobat. I bet it's the mail client who adds the .dat extensi

RE: Mail::Sender question

2003-01-29 Thread Jenda Krynicky
From: "Dan Muey" <[EMAIL PROTECTED]> > So to send an html file attachment (from html in a variable not a > file) with images :: Which is the best way to send the images? use > disposition=inline and the cid:img1 img tag or Use > disposition=attachment and a regular img tag Well this can get a bi

RE: Mail::Sender question

2003-01-29 Thread Dan Muey
So to send an html file attachment (from html in a variable not a file) with images :: Which is the best way to send the images? use disposition=inline and the cid:img1 img tag or Use disposition=attachment and a regular img tag If neither what am I missing? $sender = new Mail::S

RE: Mail::Sender question

2003-01-29 Thread Dan Muey
> > From: "Dan Muey" <[EMAIL PROTECTED]> > > Shoot me if this is already in the docs but is it possible > to send a > > variable that contains html as an html attachement without > it being a > > file first using Mail::Sender? > > :-) > > Yes it it possible. > > $sender = new Mail::Se

Re: Mail::Sender question

2003-01-29 Thread Jenda Krynicky
From: "Dan Muey" <[EMAIL PROTECTED]> > Shoot me if this is already in the docs but is it possible to send a > variable that contains html as an html attachement without it being a > file first using Mail::Sender? :-) Yes it it possible. $sender = new Mail::Sender {...}; $sender->

RE: Mail::Sender module

2003-01-29 Thread Dan Muey
> From: "Dan Muey" <[EMAIL PROTECTED]> > > Just a quick question I can't find an answer to and I > believe one of > > our frequenters will know for sure as they are the module author > > > > I've read somewhere ( in a dreaded Oreilley book ;D ) that the Mail > > series of modules uses the

Re: Mail::Sender module

2003-01-29 Thread Jenda Krynicky
From: "Dan Muey" <[EMAIL PROTECTED]> > Just a quick question I can't find an answer to and I believe one of > our frequenters will know for sure as they are the module author > > I've read somewhere ( in a dreaded Oreilley book ;D ) that the Mail > series of modules uses the OS's native mail p

Re: Mail::Sender question

2002-11-24 Thread Jenda Krynicky
From: Goodman Kristi - kgoodm <[EMAIL PROTECTED]> > I have the code (below) that works fine with the older version of > MAIL::SENDER (v0.7.06) but will not send with the new version of > MAIL::SENDER (v0.7.14.1) . Any thoughts? Maybe if you tested the return value of MailMsg/MailFile and printed

Re: Mail::Sender Problem. Can Some Help Me?

2002-11-10 Thread Jenda Krynicky
From: "Palm Optins" <[EMAIL PROTECTED]> > The code I'm using is below. I tried changing the $new_contact = > $pointer->{"Contact"}; to $new_subscribe = $pointer->{"Subscribe"}; > and $ito = $new_contact; to $ito = $new_subscribe; > > When I make this change I can't get the mail to go to the sub

Re: Mail::Sender

2002-05-23 Thread drieux
On Thursday, May 23, 2002, at 07:16 , Nikola Janceski wrote: > Code please? (If I were a mind reader would I be programming?) but of course you would be - it is your way of dealing with the emotional crisis of the world but you should have offered our young hero the following minimal kvetch

RE: Mail::Sender

2002-05-23 Thread Nikola Janceski
Code please? (If I were a mind reader would I be programming?) > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 23, 2002 10:11 AM > To: [EMAIL PROTECTED] > Subject: Mail::Sender > > > I receive the following error when using the > Mail::Se

Re: Mail::Sender

2002-03-14 Thread Gary Stainburn
Further to this, when I installed 0.7.10 instead of the 0.7.13 it worked fine Gary On Thursday 14 March 2002 11:14 am, Gary Stainburn wrote: > On Wednesday 13 March 2002 5:23 pm, Jenda Krynicky wrote: > > From: [EMAIL PROTECTED] > > > > > I am using Mail::Sender on AIX 4.3.3 and e

Re: Mail::Sender

2002-03-14 Thread Gary Stainburn
On Wednesday 13 March 2002 5:23 pm, Jenda Krynicky wrote: > From: [EMAIL PROTECTED] > > > I am using Mail::Sender on AIX 4.3.3 and encounter the > > following error when running a script. > > > > Use of uninitialized value > > at /usr/opt/perl5/lib/site_perl/5.005/Mail/Sender.pm >

Re: Mail::Sender Timeout

2002-03-13 Thread Jenda Krynicky
From: [EMAIL PROTECTED] > Where in the Sender.pm file can I find the parameter for > timeout to the mail server? I need to increase this. I > keep getting a cannot connect error. > > Thanks > > Grant Sorry, there is no such parameter. I'm using plain socket()s with conn

Re: Mail::Sender

2002-03-13 Thread Jenda Krynicky
From: [EMAIL PROTECTED] > I am using Mail::Sender on AIX 4.3.3 and encounter the > following error when running a script. > > Use of uninitialized value > at /usr/opt/perl5/lib/site_perl/5.005/Mail/Sender.pm > line 944, chunk 5. > Can't use an undefined value as filehandle r

RE: Mail::Sender on WinNT - can't connect

2002-02-15 Thread murphy, daniel (BMC Eng)
> > I get, > > connect() failed: Unknown error Jenda said: Does that server accept SMTP ? If you try telnet srmontana 25 do you connect and get a reply something like: 220 srmontana.emc.com MS Exchange ESMTP server ready. If not you'll have to find another server to relay th

RE: Mail::Sender on WinNT - can't connect

2002-02-15 Thread Mark Richmond
} exit 0; > -Original Message- > From: Jenda Krynicky [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 15, 2002 10:57 AM > To: '[EMAIL PROTECTED]' > Subject: Re: Mail::Sender on WinNT - can't connect > > > From: "murphy, daniel

Re: Mail::Sender on WinNT - can't connect

2002-02-15 Thread Jenda Krynicky
From: "murphy, daniel (BMC Eng)" <[EMAIL PROTECTED]> > I've been wanting to send mail from some of my scripts, so I thought > I'd see how to get it to work. > > I chose to use Mail::Sender and am running Perl 5.005_03 from > ActiveState build 522 (I know, it's old) on WinNT. W

RE: Mail::Sender on WinNT - can't connect

2002-02-15 Thread Nikola Janceski
shouldn't your smtp parameter have the full hostname? You should also check that your server is accepting smtp connections from the user and machine your are running this script on. -Original Message- From: murphy, daniel (BMC Eng) [mailto:[EMAIL PROTECTED]] Sent: Friday, February 15, 200

Re: Mail::Sender

2002-02-12 Thread Jenda Krynicky
From: Nikola Janceski <[EMAIL PROTECTED]> > Okay I am at a loss here... > > I am using Mail::Sender to generate e-mails from a cgi page. > I am successful with genereating it using a regular script run from a > command line. > > But when I put the code into my cgi it gives me

RE: Mail::Sender

2002-02-12 Thread Nikola Janceski
It's a bug... I forgot the 'to' and it just dies at the line $sender->Body(); I am submitting a bug report. It should handle an e-mail without a to and only a cc, or bcc. -Original Message- From: Nikola Janceski [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 12, 2002 4:45 PM To: '[E