Mike Williams wrote:
On Thu, Apr 10, 2008 at 12:41 AM, Perl CGI script enhancer <
[EMAIL PROTECTED]> wrote:
my $email = populateEmail("test");
print $email;
Well, I didn't see it at first, so I cut and pasted a snippet of your code
into a local file, ran it at the command line and got:
Und
On Thu, Apr 10, 2008 at 12:41 AM, Perl CGI script enhancer <
[EMAIL PROTECTED]> wrote:
> my $email = populateEmail("test");
> print $email;
>
> When i a using the above code it results in "No recipient address
> found in header" and when i replace ${email} with "[EMAIL PROTECTED]"
> ie
>
> To : [E
my $email = populateEmail("test");
print $email;
open(SENDMAIL, "|/usr/lib/sendmail -oi -t -i") or print "cannot open
SENDMAIL: $!";
print SENDMAIL <<"EOF";
From: <[EMAIL PROTECTED]>
To:${email}
Subject: [SUSTAINING TICKET] Case
Content-type: te
le of lines to the sendmail routine I was
using and it fixed my E-mail problem but created a problem with my fax
gateway copy.
#1 gets sent the Joe Enduser plain E-mail(Can be html my tweek forced
html)
#2 gets sent to the Office HTML Format.
#3 Fax gateway (Plain E-mail).
Fax gateway is in t
Greg Schiedler wrote:
I know enough Perl to be dangerous!
I have a form that sends out several different confirmations depending on
who the receipient is.
One particular E-mail I need to be in html format so I can put it into a
specific format. I added a couple of lines to the sendmail
I know enough Perl to be dangerous!
I have a form that sends out several different confirmations depending on
who the receipient is.
One particular E-mail I need to be in html format so I can put it into a
specific format. I added a couple of lines to the sendmail routine I was
using and it
Dale wrote:
Hi,
I'm hoping someone can help me with an issue I've got with, I assume,
sendmail.
I've copied part of a script below. If I use the first To: line (which
takes the e-mail address from a file - and this works) then a mail
doesn't arrive. If, however, I used
Dale wrote:
> Hi,
>
> I'm hoping someone can help me with an issue I've got with, I assume,
> sendmail.
>
> I've copied part of a script below. If I use the first To: line (which
> takes the e-mail address from a file - and this works) then a mail
> d
Hi,
I'm hoping someone can help me with an issue I've got with, I assume,
sendmail.
I've copied part of a script below. If I use the first To: line (which
takes the e-mail address from a file - and this works) then a mail
doesn't arrive. If, however, I used the secon
B. Fongo wrote:
It's my first time to use sendmail. I want to my script to send a mail
to [EMAIL PROTECTED] or whoever is in the To: line. The script warns:"No
recipient name found in the header" and dies, even though there's a
re
It's my first time to use sendmail. I want to my script to send a mail
to [EMAIL PROTECTED] or whoever is in the To: line. The script warns:"No
recipient name found in the header" and dies, even though there's a
recipient. I'm puzzled.
##
FYI: After 1/2 hour on the phone with tech support
here's some info that I hope will help others!
#!/usr/local/bin/perl
my $mailprog = '/usr/lib/sendmail'; # the real path to sendmail
# seems to vary depending on the
> -Original Message-
> From: Bruce Ambraal [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 01, 2002 5:53 AM
> To: [EMAIL PROTECTED]
> Subject: mail::Sendmail::error
>
>
> Hi all
>
> What am I doing wrong.
>
> error.log;
> [Tue Oct 01 11:09:
Hi all
What am I doing wrong.
error.log;
[Tue Oct 01 11:09:10 2002] [error] [client 165.25.207.246] [Tue Oct 1
11:09:09 2002] c:\PROGRA~1\APACHE~1\apache\cgi-bin\start_n2.pl: Name
"mail::Sendmail::error" used only once: possible typo at
c:\PROGRA~1\APACHE~1\apache\cgi-bin\start_n2.
Hi all
what am I doing wrong.
find attach the error.log and the code
thanx in advance
Bruce
start_n2.pl
Description: Binary data
errors1.log
Description: Binary data
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Sun, 22 Sep 2002, Hytham Shehab wrote:
> where can i find/download a free sendmail alternative for win32?
Exim has been ported to cygwin, if you have that. But I think
there are native Windows MTAs too.
--
Greg MathesonThe teacher as the monkey in the works.
Chin
hi guys,
where can i find/download a free sendmail alternative for win32?
thx
--
Hytham Shehab
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Ok Ok, I am glad that Net::SMTP is better.
I prefer it because I could use the same code in Windows and Unix and I
heard that using sendmail could create some security problems, but I thought
that sendmail could be more reliable, or could work faster, etc.
Teddy's Center: http://teddy.f
On Tue, 27 Aug 2002 at 22:51, Wiggins d'Anconia opined:
[cur-snippity]
Wd:http://search.cpan.org/search?mode=all&query=sendmail
Wd:
Wd:Remember to throw comments back to the list as well, I would love to
Wd:hear what others think, does anyone disagree, should we cast aside the
Wd:modu
Would be interesting to know which book and what reasons they stated for
using sendmail directly. I would imagine most of the people on the list
and myself included would advocate using the module in almost all cases.
There are a couple of big reasons, mainly that understanding sendmail is
a
man sendmail??? (or possibly try a sendmail group)
You might be looking for "DeliveryMode=x" where x is "b" but I am not a
sendmail expert.
You might also check the perldoc for Net::SMTP as this is probably safer
than using sendmail command line (or one of the many other
i want to send an email with sendmail from my perl
script without queueing the email.
What's the command line?
Thanks,
Anthony
__
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com
--
To unsubscribe, e
to get a perl script to send mail through Mail::Sendmail and
> it's not working.
>
> I put the SMTP server name my ISP gave me in Sendmail.pm. (When i check for
> my mail through this server, i need to specify my username and password.
> Would i have to do this for Mail::Sendmai
On 21 Aug 2002 22:22:48 -, [EMAIL PROTECTED] (Beans) wrote:
>Hello,
>
>i'm trying to get a perl script to send mail through Mail::Sendmail and
>it's not working.
>Maybe there's a really simple solution to this...any help would be greatly
>appreciated. I&
Hello,
i'm trying to get a perl script to send mail through Mail::Sendmail and
it's not working.
I put the SMTP server name my ISP gave me in Sendmail.pm. (When i check for
my mail through this server, i need to specify my username and password.
Would i have to do this for Mail::Sendm
T wrote at Fri, 16 Aug 2002 15:27:54 +0200:
You change often your name ("No Longer Exists" -> "T") and
I'm a little bit afraid to talk too much with
schizophrenic person :-(
> Janek,
>
> YAY, that was the problem. So, now it sends it correctly. I am seeing one other
>problem now that i
> can g
rite ALL 100+ scripts
> > within my companies cgi-bin within 3 weeks and could
> > REALLY use the help:)
> > ...
> > open MAIL, "| '/usr/lib/sendmail' -t -i" or die "Could
> > not open sendmail: $!";
> >
> > print MAIL &l
run? i have to rewrite ALL 100+ scripts
> within my companies cgi-bin within 3 weeks and could
> REALLY use the help:)
> ...
> open MAIL, "| '/usr/lib/sendmail' -t -i" or die "Could
> not open sendmail: $!";
>
> print MAIL < To: cynkim\@y
A cursory look at the code appears ok, you are positive that there are
no errors given, have you tried running it command line??
What does sendmail's log file look like??? The program may be sending
to sendmail, it may not be complaining back immediately, but it might be
complaining
AddName" ) =~ /^ ( [\w+.] )
/;
print $q->redirect( "/campaign/inf/00/thankyou.html"
);
print "/campaign/inf/00/thankyou.html";
open MAIL, "| '/usr/lib/sendmail' -t -i" or die "Could
not open sendmail: $!";
print MAIL <http://www.hotjobs.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Thu, 25 Jul 2002 06:36:40 -0700 (PDT), [EMAIL PROTECTED] (Shao-Ju
Chao) wrote:
>I wonder if there is a safer and better way sending email messages to a group of
>people.
>For example, there is a text file that has all the recipient email addresses:
>
You can specify your list, 1 email per li
I wonder if there is a safer and better way sending email messages to a group of
people.
For example, there is a text file that has all the recipient email addresses:
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
(etc...)
---
and to send message to them
Hello all...
I have a perl script which, among other things, sends a mail message by piping
to sendmail. The script worked fine right up until I reinstalled my OS
(Mandrake 8.2)
Now the script wont send the mail - it works in every other way. I dont get
any errors in the error_log, and I
I don't know, but you may want to try:
print MAIL "From: Troy \n";
(I am almost sure you have to escape @)
Rafael
"Troy May" <[EMAIL PROTECTED]> escreveu na mensagem
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Is this field for email addresses only? I can't get it to say my name.
> Here's
Is this field for email addresses only? I can't get it to say my name.
Here's what I have:
print MAIL "From: Troy\n";
print MAIL "From: Troy May\n";
Neither work. They come through as my server email address. Can this be
done?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional com
open(MAIL,"|$mailprog -t");
# it works correctly
but not with:
# open(MAIL,"|$mailprog -t -f" . $recipient);
Can anyone see why this failing?
Thanks,
Dave Gilden
# the script #
#!/usr/bin/perl
use CGI qw/:standard/;
use CGI::Carp qw(fatalsToBrowser);
use POSIX
"Troy May" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I'm trying to figure out how to send emails through Sendmail with an email
> list that could change at any given time.
use Mail::BulkMail from CPAN:
http://sea
Hello,
I'm trying to figure out how to send emails through Sendmail with an email
list that could change at any given time. I'm trying it with a text file
now: (file is in this format: email, email, email, email)
-
$mailprog = '/us
Hi, I need to use sendmail to email a set of variables from a form to a
specified email address. I am currently using Mail::Send like so:
#!/usr/bin/perl
require Mail::Send;
$msg = new Mail::Send;
$msg->to('[EMAIL PROTECTED]');
$msg->subject('Form Data Submission')
Sendmail for Windows
http://www.indigostar.com/sendmail.htm
- Original Message -
From: "Scot Robnett" <[EMAIL PROTECTED]>
To: "Octavian Rasnita" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, March 21, 2002 9:02 PM
Subject: RE: sendmail
On Wed, 27 Mar 2002 23:35:58 +, [EMAIL PROTECTED]
(Matthew Harrison) wrote:
>forgot to attach the script didn't i. oh well, here it is:
>
>###
forgot to attach the script didn't i. oh well, here it is:
###
I have a script that uses Mail::Sendmail. This script (included below) does
actially work and actually emails the recipient as it should, but it gives
me compilations errors etc. How can I make the script ignore the errors and
display some html or can someone tell me how and why these error
--Sendmail
I figured that the culprit is forking or executing to Sendmail, but why does
it work on all our other test servers, and hangs on the Solaris box running
Apache?
This is one version:
open(MAIL, "| /usr/lib/sendmail -t") || die "No sendmail available: $!\n";
select(MAIL)
I figured that the culprit is forking or executing to Sendmail, but why does
it work on all our other test servers, and hangs on the Solaris box running
Apache?
This is one version:
open(MAIL, "| /usr/lib/sendmail -t") || die "No sendmail available: $!\n";
select(MAIL); $|
: sendmail command in Windows?
Hi all,
I use Perl under Win 2k, and I know there is no sendmail command under this
OS.
I also know that I can use the net::smtp module to send mail, but I am
wondering if there is a Windows command line program for sending mail
available.
Do you know such a program
Hi all,
I use Perl under Win 2k, and I know there is no sendmail command under this
OS.
I also know that I can use the net::smtp module to send mail, but I am
wondering if there is a Windows command line program for sending mail
available.
Do you know such a program?
Thank you.
Teddy,
My dear
PROTECTED]]
Sent: March 4, 2002 1:55 AM
To: [EMAIL PROTECTED]
Subject: sendmail
Hello,
The problem description is s follows :
Well i have made a program that sends mails thru sendmail.
earlier the content type was text/html
now i have made the content type text/plain acoording to the reqments.
but
Hello,
The problem description is s follows :
Well i have made a program that sends mails thru sendmail.
earlier the content type was text/html
now i have made the content type text/plain acoording to the reqments.
but the problem i am getting is in hyperlinks.
now i want the hyperlink to be
Hi there, I'm getting this error message:
Error closing sendmail: at /webdocs/docs/clone/cgi-bin/sendoff.cgi line 48.
The email goes through successfully, but still get the error. Any help would
be greatly appreciated!
Thanks heaps.
Here's the snippet of code:
#!/usr/bin/perl -wT
I have a CGI program that use the Mail::Sendmail module. The
situation is that at the end of the script it send a email
notification with the Mail::Sendmail but because the
Mail::Sendmail check for the email address to see if its valid,
when the
user enter an invalid email address the
> use Mail:Sendmail;
Try
use Mail::Sendmail; # Two ::, not one
-Akshay
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Dec 13, Lance Prais said:
>use Mail:Sendmail;
use Mail::Sendmail;
Notice the doubled colon.
>%mail = ( To =>'[EMAIL PROTECTED]',
>From=> 'Nobody',
>Subject => 'Error',
>Message =>
Hi Lance:
use Mail:Sendmail;
should be
use Mail::Sendmail;
Have a good day,
Francis
Lance Prais wrote:
> I am using the following piece of code to send email I can not figure out
> why it errors out because it worked the other day and now it is not. I have
> not changed anythi
ROTECTED]',
From=> 'Nobody',
Subject => 'Error',
Message => "my $data = for (1..21)"
);
sendmail(%mail) or die $Mail::Sendmail::error;
print "OK. Log says:\n", $Mail::Sendmail::log;
Er
I have this alias in /etc/aliases:
apx:|/usr/local/admin/myscript.pl
This script uses Net::SSH::Perl to connect to a remote machine and execute a
command.
It works fine from the command line, however, when sendmail invokes it, it
fails.
It is tryting to create this directory: /.ssh
Root
has the
>following line:
>
>$default_smtp_server = '192.9.200.222';
>
>my formmail.pl file refers to the sendmail file with the following line:
>
>$mailprog = '/perl/lib/Mail';
>
>Can anyone see anything wrong with these lines of code?
>
>Is
my sendmail.pm file (stored in the SYS\Perl\lib\Mail directory) has the following line:
$default_smtp_server = '192.9.200.222';
my formmail.pl file refers to the sendmail file with the following line:
$mailprog = '/perl/lib/Mail';
Can anyone see anything wrong with these l
essions by Jeffrey Friedl (sp?). But I would consider this overkill in
most situations.
>validating that information, you can open up your script to a HUGE
>security hole by allowing user
>data near the shell. Consider the following URL:
>
>
>http://www.somehost.com/cgi-bin/mail.cgi?
ser
data near the shell. Consider the following URL:
http://www.somehost.com/cgi-bin/mail.cgi?[EMAIL PROTECTED]'%3brm%20-fr%20*%3b
Your shell command then becomes:
/usr/lib/sendmail -t -i -f'[EMAIL PROTECTED]';rm -fr *;
Admittedly, I'm not a Unix security expert, but I suspe
>I have to ask: where are you getting the $UserName value? What you are
trying to do raises some
>serious security issues if done incorrectly.
I am getting it from a form input. I am hard coding the "to" line so that I
do not have to worry about spammers just using my page as a portal. Also
t
at they can submit the form. Sendmail seems to be replacing certain parts
> of the email header with its own info (specifically the From field). The
> Email server for the list will only allow emails from the person's address
> to unsubscribe them. Here is the code that is piped to
I am trying to develop a page to allow people on a list that I am a member
of to subscribe and unsubscribe by clicking a link. The link spawns a
window that allows the user to type in their email address. When they do
that they can submit the form. Sendmail seems to be replacing certain parts
> -Original Message-
> From: perl-cgi [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 29, 2001 4:49 PM
> To: 'James Kelty'
> Cc: [EMAIL PROTECTED]
> Subject: RE: Perl script to monitor sendmail
>
>
> I am having problems with this. For so
O_SERVER "HELO\n";
close(TO_SERVER);
???
-Chuck
---
Chuck Carson
Clinicomp International
Sr. Systems Engineer
San Diego, California
O: +1 (858) 646-2095
F: +1 (858) 297-8570
-Original Message-
From: James Kelty [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 28, 2001 10:14
ginal Message-
From: James Kelty [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 28, 2001 10:14 AM
To: perl-cgi
Subject: RE: Perl script to monitor sendmail
#!/usr/bin/perl -w
use IO::Socket::INET;
my $sock = IO::Socket::INET->new(PeerAdd => "hostname",
We are using a Windows based SMTP virus scanner that scans port 25 and
then forwards to are real mail server which is SuSE based. This damn
software product keeps crashing and there is no way to know when it
crashes unless you login with PC Anywhere and do the GUI thing. Can
anyone share some sam
> -Original Message-
> From: Wendy DeCora [mailto:[EMAIL PROTECTED]]
> Sent: 23 August 2001 16:13
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: sendmail and newlines
>
>
> Situation: My perl script (see Code: below) is being
> handed a flatfile
there. I
have tried many variations, but having \\n and
replacing with \n seems to be the only way to get a
newline to work, but how to get rid of the extra \?
Any suggestions would be very very appreciated.
TIA
Code:
#!/usr/bin/perl
$mailprog = '/usr/sbin/sendmail -t';
$admin_email=&q
2001, Adam Carson wrote:
> If you are suggesting that I use Mail::sendmail instead (are you?),
> the reason is that I got this code from Novell's website and it seemed
> to be a useful and easy to understand piece of code. As a perl
> beginner, I also thought that understanding t
HELO, EHLO need the domain you are connecting from
kat@graf-spee:~$ telnet localhost smtp
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 graf-spee.hn.extremix.net ESMTP Sendmail 8.11.3/8.11.3; Tue, 31 Jul 2001 08:17:58
+0530
helo
501 5.0.0 helo requi
On Mon, 30 Jul 2001, Adam Carson wrote:
> If you are suggesting that I use Mail::sendmail instead (are you?),
> the reason is that I got this code from Novell's website and it seemed
> to be a useful and easy to understand piece of code. As a perl
> beginner, I also thought t
Yes, I am.
If you are suggesting that I use Mail::sendmail instead (are you?), the reason is that
I got this code from Novell's website and it seemed to be a useful and easy to
understand piece of code. As a perl beginner, I also thought that understanding the
process might be useful i
On Mon, 30 Jul 2001, Adam Carson wrote:
> I have been trying to get a version of sendmail to send results from a
> form, and after finally getting all my addresses and formatting right,
> my mailserver gives me an error about not using the HELO protocol:
>
> X-Authent
I have been trying to get a version of sendmail to send results from a form, and after
finally getting all my addresses and formatting right, my mailserver gives me an error
about not using the HELO protocol:
X-Authentication-Warning: mail.server.IP.address:
[the.user's.IP.ad
75 matches
Mail list logo