From: "Ben Edwards" <[EMAIL PROTECTED]>
> On 01/06/07, Jenda Krynicky <[EMAIL PROTECTED]> wrote:
> > From: "Ben Edwards" <[EMAIL PROTECTED]>
> > > Have been googleing for a while and don't seem to be able to find a
> > > perl library which allows me to send an email without having
From: "Ben Edwards" <[EMAIL PROTECTED]>
> Have been googleing for a while and don't seem to be able to find a
> perl library which allows me to send an email without having to resort
> to a callback. Can someone please point me in the correct direction.
What do you mean by "cal
On 5/31/07, Ben Edwards <[EMAIL PROTECTED]> wrote:
Have been googleing for a while and don't seem to be able to find a
perl library which allows me to send an email without having to resort
to a callback. Can someone please point me in the correct direction.
snip
use Mail::Sender;
my $sender
Have been googleing for a while and don't seem to be able to find a
perl library which allows me to send an email without having to resort
to a callback. Can someone please point me in the correct direction.
Ben
--
Ben Edwards - Bristol, UK
If you have a problem emailing me use
http://www.gurtl
Bill Jones wrote:
On 1/24/07, M. Lewis <[EMAIL PROTECTED]> wrote:
I've used MIME::Lite for the mail tasks I've had up till now and it has
worked very well. Now I need to send mail via a different port than port
25, say port 587. As far as I can tell, MIME::Lite does not have this
capability.
Jenda Krynicky wrote:
Date sent: Wed, 24 Jan 2007 21:54:47 -0500
From: "M. Lewis" <[EMAIL PROTECTED]>
To: beginners@perl.org
Subject: Sending mail
I've used MIME::Lite for the mail tasks I've had up
Date sent: Wed, 24 Jan 2007 21:54:47 -0500
From: "M. Lewis" <[EMAIL PROTECTED]>
To: beginners@perl.org
Subject: Sending mail
>
> I've used MIME::Lite for the mail tasks I've had up till now and
On 1/24/07, M. Lewis <[EMAIL PROTECTED]> wrote:
I've used MIME::Lite for the mail tasks I've had up till now and it has
worked very well. Now I need to send mail via a different port than port
25, say port 587. As far as I can tell, MIME::Lite does not have this
capability.
Can someone point me
I've used MIME::Lite for the mail tasks I've had up till now and it has
worked very well. Now I need to send mail via a different port than port
25, say port 587. As far as I can tell, MIME::Lite does not have this
capability.
Can someone point me to a different mailer that does have this ca
formation or review our http://pubsys.pearsoned.com/groups/product_information/OnTrac/ontrac_f
aq.html">FAQ" ;
\n" ;
close MAIL;
return 0;
}
You have not set a proper mime/type for the email client to recognize
that the message is HTML, assuming it can. This is only one of the
Hi All,
I want to send mail thru perl.
And the content is supposed to have hyperlink.
Just one word lke, "FAQ" is supposed to have link to some url.
I am trying like this, but I am not getting hyperlink on word FAQ.
Can any one help here ?
Thank You.
sub send_mail
{
my ($to_email, $subject,
ng from a list. They wanted things more
personalized. Next I tried sending mail by opening a pipe into Sendmail
itself (with the queue only and no DNS lookup flags set) and it still bogged
down -- meaning it took longer than our current way of sending (we currently
use an ActiveX component on a Window
-Shan Chau [mailto:tchau@;shaw.ca]
Sent: Tuesday, November 12, 2002 9:07 PM
To: Timothy Johnson; 'Kipp, James'; 'Help on PERL'
Subject: Re: Sending mail under Windows 95/2000
I did find out that the problem is with:
$smtp = Net::SMTP->new('shaw.ca');
by adding &q
From: Aman Thind <[EMAIL PROTECTED]>
> Just use "shaw" instead of "shaw.ca" as in :
>
> $smtp = Net::SMTP->new('shaw')||die("my woes are never ending :(");
>
> You are supposed to use only the name of the mail server.
> shaw.ca is an invalid argument to Net::SMTP as you will fi
print "$!"; after trying to connect to the server as you do.
Bon Mailing :)
-aman.
-Original Message-
From: Tin-Shan Chau [mailto:tchau@;shaw.ca]
Sent: Wednesday, November 13, 2002 7:37 AM
To: Timothy Johnson; 'Kipp, James'; 'Help on PERL'
Subject: Re: Sen
nson" <[EMAIL PROTECTED]>
To: "'Kipp, James'" <[EMAIL PROTECTED]>; "'Tin-Shan Chau'"
<[EMAIL PROTECTED]>; "'Help on PERL'" <[EMAIL PROTECTED]>
Sent: Monday, November 11, 2002 12:26 PM
Subject: RE: Sending mail unde
s you are
running. Is one of them "Internet Mail", or are you using "Microsoft
Exchange Server"?
-Original Message-
From: Tin-Shan Chau [mailto:tchau@;shaw.ca]
Sent: Tuesday, November 12, 2002 6:07 PM
To: Timothy Johnson; 'Kipp, James'; 'Help on PERL
:16 PM
To: 'Tin-Shan Chau'; 'Help on PERL'
Subject: RE: Sending mail under Windows 95/2000
$smtp = Net::SMTP->new('shaw.ca'); # connect to an
> SMTP server
> > $smtp->mail( '[EMAIL PROTECTED]' );# use the sender'
$smtp = Net::SMTP->new('shaw.ca'); # connect to an
> SMTP server
> > $smtp->mail( '[EMAIL PROTECTED]' );# use the sender's
> > address here
> > $smtp->to('[EMAIL PROTECTED]');# recipient's address
> > $smtp->data(); # Start the mail
>
>
> $smtp = Net::SMTP->new('shaw.ca'); # connect to an SMTP server
> $smtp->mail( '[EMAIL PROTECTED]' );# use the sender's
> address here
> $smtp->to('[EMAIL PROTECTED]');# recipient's address
> $smtp->data(); # Start the mail
>
> c
I have been trying to get the sample program in the ActiveState documentation to work,
but without much success. Here is the code:
>>>
use Net::SMTP;
$smtp = Net::SMTP->new('shaw.ca'); # connect to an SMTP server
$smtp->mai
Lz wrote at Tue, 28 May 2002 17:57:57 +0200:
> Hi guys,
>
> open TMP, ">/home/dev/perl/mail_queue/$filename" or die "Can't create file: $!";
>
> I read an incoming file, modify it and save it in the file, as seen above.
>
> Later on, I'd like to send the above generated file:
>
> I try the fo
lz wrote:
> Hi guys,
>
> open TMP, ">/home/dev/perl/mail_queue/$filename" or
> die "Can't create file: $!";
>
> I read an incoming file, modify it and save it in the
> file, as seen above.
>
> Later on, I'd like to send the above generated file:
>
> I try the following, but it doesn't work.
>
Try
system("cat home/dev/perl/mail_queue/$filename | mailx -s \"test\"
$mailAddress ");
Regards,
Agustin Rivera
Webmaster, Pollstar.com / PollstarOnline.com
- Original Message -
From: "lz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tues
May 28, 2002 12:57 PM
Subject: sending mail from Perl redirecting from a file
> Hi guys,
>
> open TMP, ">/home/dev/perl/mail_queue/$filename" or
> die "Can't create file: $!";
>
> I read an incoming file, modify it and save it in the
> file, as see
Hi guys,
open TMP, ">/home/dev/perl/mail_queue/$filename" or
die "Can't create file: $!";
I read an incoming file, modify it and save it in the
file, as seen above.
Later on, I'd like to send the above generated file:
I try the following, but it doesn't work.
open MSG, "|mailx -s \"test\" $mai
;,"\n";
> > print MAIL "To: $to_name ",'<',"$to_addr",'>',"\n";
> > print MAIL "Subject: $subject\n";
> > print MAIL "$content\n";
> > close(MAIL);
> >
> Hi all
> I am trying to send a mail with the following code and the last print
> statement doesn't print, ie, the mail is not sent.
> This code is called on submitting a form on the web
>
> open(MAIL, "/usr/sbin/sendmail -oi -t") || die "Can't open mail";
> print MAIL < To:
[EMAIL PROTECTED] (T3tsu0) writes:
> sub send_mail {
> open(MAIL,"|$mail_prog -t") || &error("unable to send mail to:
> $to_name - $to_addr");
[...]
> close(MAIL);
you really want to put error checking on the close() too. In many
cases you won't be told until then if the open fa
print MAIL "Subject: $subject\n";
print MAIL "$content\n";
close(MAIL);
print "Mail to: $to_name - $to_addr, completed.";
}
-Original Message-
From: Aman Raheja [mailto:[EMAIL PROTECTED]]
S
subject\n";
> print MAIL "$content\n";
> close(MAIL);
> print "Mail to: $to_name - $to_addr, completed.";
> }
have you guys ever considered using mime::lite? it simplifies sending
mail, including attachments, etc.
http://search.cpan.or
Aman Raheja [[EMAIL PROTECTED]] quoth:
*>Hi all
*>I am trying to send a mail with the following code and the last print
*>statement doesn't print, ie, the mail is not sent.
*>This code is called on submitting a form on the web
*>
*>open(MAIL, "/usr/sbin/sendmail -oi -t") || di
t;
>To: [EMAIL PROTECTED], [EMAIL PROTECTED],
>[EMAIL PROTECTED], [EMAIL PROTECTED]
>Subject: problem sending mail
>Date: Wed, 10 Apr 2002 12:25:46 -0500
>
>Hi all
>I am trying to send a mail with the following code and the last print
>statement doesn't print, ie, the mail i
Hi all
I am trying to send a mail with the following code and the last print
statement doesn't print, ie, the mail is not sent.
This code is called on submitting a form on the web
open(MAIL, "/usr/sbin/sendmail -oi -t") || die "Can't open mail";
print MAIL <";
---
On Thu, Feb 21, 2002 at 08:46:54AM -, Darren Simpson wrote:
> try FormMail
> http://worldwidemart.com/scripts/formmail.shtml
Be careful with formmail, for there are lots of script kiddies out
there, trying to abuse it. Although I don't have it on my webserver,
people occasionally try to explo
al Message-
From: Bhanu Prakash [mailto:[EMAIL PROTECTED]]
Sent: 20 February 2002 16:59
To: [EMAIL PROTECTED]
Subject: Sending Mail
Hi,
I'm new to Perl and am trying to write some cgi
programs in Perl.
Currently I'm developing a tool in which , when a user
submits a form,
the i
know,
Chris Zampese.
[EMAIL PROTECTED]
- Original Message -
From: "Johannes Franken" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 21, 2002 9:38 PM
Subject: Re: Sending Mail
> On Wed, Feb 20, 2002 at 08:58:41AM -0800, Bhanu
Prakash wrote:
02 9:38 PM
Subject: Re: Sending Mail
> On Wed, Feb 20, 2002 at 08:58:41AM -0800, Bhanu Prakash wrote:
> > when a user submits a form, the input entered by him should be
> > mailed to the address he specifies in one of teh input fileds.!
>
> If you put that one on a publi
try FormMail
http://worldwidemart.com/scripts/formmail.shtml
-Original Message-
From: Bhanu Prakash [mailto:[EMAIL PROTECTED]]
Sent: 20 February 2002 16:59
To: [EMAIL PROTECTED]
Subject: Sending Mail
Hi,
I'm new to Perl and am trying to write some cgi
programs in Perl.
Curr
On Wed, Feb 20, 2002 at 08:58:41AM -0800, Bhanu Prakash wrote:
> when a user submits a form, the input entered by him should be
> mailed to the address he specifies in one of teh input fileds.!
If you put that one on a public webserver, you should consider a way
to prevent bad people from usin
Bhanu Prakash [[EMAIL PROTECTED]] quoth:
*>Hi,
*> I'm new to Perl and am trying to write some cgi
*>programs in Perl.
*>Currently I'm developing a tool in which , when a user
*>submits a form,
*>the input entered by him should be mailed to the
*>address he specifies
*>in one of teh input file
Hi,
I'm new to Perl and am trying to write some cgi
programs in Perl.
Currently I'm developing a tool in which , when a user
submits a form,
the input entered by him should be mailed to the
address he specifies
in one of teh input fileds.! Does anybody have some
sample scripts
which does so
From: Ryan Guy <[EMAIL PROTECTED]>
> How do I send mail without and SMTP server. My company uses a
> microsoft exchange server and I cannot figure out how to get the
> Mail::Sendmail module to work.
If you know for sure the Exchange server doesn't have SMTP
turned on you can
How do I send mail without and SMTP server. My company uses a microsoft
exchange server and I cannot figure out how to get the Mail::Sendmail module
to work.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
When I did this, I used the Net:SMTP module that comes with the ActiveState
distribution. Of course, you need access to an SMTP server. Otherwise, it
was very easy to use.
> I've seen all sorts of ways to send mail on a *nix system, but I
can't
>find a good module to use with Win32. Do
2001 15:15
> To: [EMAIL PROTECTED]
> Subject: Sending mail on a Win32 system.
>
>
> I've seen all sorts of ways to send mail on a *nix
> system, but I can't
> find a good module to use with Win32. Does anyone have any
> suggestions on
> how to send an
Mail::Sendmail works fine - perhaps you don't have the SMTP server setting
correct or no access to a server?
Luke
On Thu, 29 Nov 2001, Aaron Petry wrote:
> I've seen all sorts of ways to send mail on a *nix system, but I can't
> find a good module to use with Win32. Does anyone have any
I've seen all sorts of ways to send mail on a *nix system, but I can't
find a good module to use with Win32. Does anyone have any suggestions on
how to send an e-mail message on win32 systems? Mail::Sendmail doesn't
seem to work.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For add
At 11:57 AM 8/1/01 -0400, Rice, Elizabeth A. wrote:
>I've been looking for a tool to send a email to multiple recipients, using a
>file as input to the body of the message, that will working on multiple
>operating systems, and is fairly simple since I'm new at this.
>
>I've investiaged Mail::Mail
> -Original Message-
> From: Rice, Elizabeth A. [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 01, 2001 11:58 AM
> To: '[EMAIL PROTECTED]'
> Subject: Sending mail using PERL with file as body of message
>
>
> ...
> Here's the basi
I've been looking for a tool to send a email to multiple recipients, using a
file as input to the body of the message, that will working on multiple
operating systems, and is fairly simple since I'm new at this.
I've investiaged Mail::Mailer and Net::SMTP, but maybe because I'm a newbie
these s
Doh. I don't know how many times I looked at it and still didn't see
the word 'mail' prior to my username.
Thanks to all who responded.
Mike
Marcelo Ramos wrote:
>
> El Sun, 29 Jul 2001 10:31:11 -0500
> Mike Rodgers <[EMAIL PROTECTED]> escribió:
>
> >On page 23 of Learning Perl, there are comm
At 10:56 AM 7/30/01 +, Mel Matsuoka wrote:
>At 01:39 PM 07/30/2001 -0700, [EMAIL PROTECTED] wrote:
> >> "Stephen P. Potter" <[EMAIL PROTECTED]> said:
> >
> >> |
> >> | open (MAIL, "|/usr/sbin/sendmail $email")
> >> |
> >> | to which you should by the way add
> >> |
> >> | or
At 10:56 AM 07/30/2001, Mel Matsuoka wrote:
>At 01:39 PM 07/30/2001 -0700, [EMAIL PROTECTED] wrote:
>>> "Stephen P. Potter" <[EMAIL PROTECTED]> said:
>>
>>> |
>>> | open (MAIL, "|/usr/sbin/sendmail $email")
>>> |
>>> | to which you should by the way add
>>> |
>>> | or die "sen
At 01:39 PM 07/30/2001 -0700, [EMAIL PROTECTED] wrote:
>> "Stephen P. Potter" <[EMAIL PROTECTED]> said:
>
>> |
>> | open (MAIL, "|/usr/sbin/sendmail $email")
>> |
>> | to which you should by the way add
>> |
>> | or die "sendmail: $!\n";
>>
>> This probably does not do what y
> "Stephen P. Potter" <[EMAIL PROTECTED]> said:
> |
> | open (MAIL, "|/usr/sbin/sendmail $email")
> |
> | to which you should by the way add
> |
> | or die "sendmail: $!\n";
>
> This probably does not do what you think it does. It is almost always
> worthless to check the s
Lightning flashed, thunder crashed and Peter Scott <[EMAIL PROTECTED]> whispered:
| Yes, but if you create the above using something like
|
| open (MAIL, "|/usr/sbin/sendmail $email")
|
| to which you should by the way add
|
| or die "sendmail: $!\n";
This probably does not d
> Peter Scott <[EMAIL PROTECTED]> said:
> Yes, but if you create the above using something like
>
> open (MAIL, "|/usr/sbin/sendmail $email")
>
> to which you should by the way add
>
> or die "sendmail: $!\n";
I left the "die" off for brevity. Good point.
> then you now ne
At 08:30 PM 7/29/01 -0700, [EMAIL PROTECTED] wrote:
> > Gia Elise Barboza <[EMAIL PROTECTED]> said:
>
> > open(mail, "|mail barbozag\@msu.edu");
> > print mail "bad news: guessed \n";
> > close (mail);
>
>This works, but if you are not certain of the contents of the email message
>(e.g. writing a
> Gia Elise Barboza <[EMAIL PROTECTED]> said:
> open(mail, "|mail barbozag\@msu.edu");
> print mail "bad news: guessed \n";
> close (mail);
This works, but if you are not certain of the contents of the email message
(e.g. writing a CGI interface to let a user compose and send an email message)
The code below does not include the pipe char. Without it the code does
not work.
Hope this helps,
Regards Gia.
open(mail, "|mail barbozag\@msu.edu");
print mail "bad news: guessed \n";
close (mail);
Mike Rodgers wrote:
> On page 23 of Learning Perl, there are commands to mail a message out.
El Sun, 29 Jul 2001 10:31:11 -0500
Mike Rodgers <[EMAIL PROTECTED]> escribió:
>On page 23 of Learning Perl, there are commands to mail a message out.
>I have tried to manually send myself a message with mail and it works.
>The program does not work. I'm not sure why. Here is the code:
>
>open
> Hi friends, I wanna send mails with the results of some perl scripts. I've
> installed Debian GNU/Linux with Apache, Perl & sendmail. Do I need some
> extra module?
I think you *can* just print stuff directly to sendmail. However, I found
Net::SMTP to be useful, if a little fiddly. Mail::Mail
On page 23 of Learning Perl, there are commands to mail a message out.
I have tried to manually send myself a message with mail and it works.
The program does not work. I'm not sure why. Here is the code:
open(MAIL, "mail EMAIL_ADDRESS_HERE");
print MAIL "bad news: $somename guessed $somegues
Hi friends, I wanna send mails with the results of some perl scripts. I've
installed Debian GNU/Linux with Apache, Perl & sendmail. Do I need some
extra module?
Thanks for your help
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Sweet. I will try that out!
Thanks for the help.
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I am trying to send an email, ( which works), with an attachement (which was
a blank file, but is now nothing). I have previous versions of this code,
but this is the latest below. I was trying to use the Mail::Sender mod, but
it gave me the blank file. Does anyone have any assistance or lin
67 matches
Mail list logo