CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Win32 Programming Help:
path to mail?

 



ultimategamer2k
User

Jan 27, 2001, 9:35 AM

Post #1 of 10 (7391 views)
path to mail? Can't Post

ya, im runnin active perl, and i wanted to know the path to the mail program... and if it doesnt come with the install, what i have to go to get it

visit my web site at http://ultimategamer.cjb.net


Jasmine
Administrator

Jan 27, 2001, 9:52 AM

Post #2 of 10 (7389 views)
Re: path to mail? [In reply to] Can't Post

By default, a mail program isn't installed on local computers. Errr, one that can be used with a Perl program, that is. A couple of options:

blat, WindMail and Sendmail.

I prefer sendmail because I have one of my drives on my local computer mirrororing our remote linux servers (in terms of file paths and software). This really saves me programming time by allowing seamless deployment from one platform to another.



ultimategamer2k
User

Jan 27, 2001, 10:14 AM

Post #3 of 10 (7388 views)
Re: path to mail? [In reply to] Can't Post

i have to pay for these?
that a rip off!
and how would i use these programs?
like what would be the code to call it?
is the demo version of sendmail worth downloading?

visit my web site at http://ultimategamer.cjb.net


Jasmine
Administrator

Jan 27, 2001, 10:50 AM

Post #4 of 10 (7386 views)
Re: path to mail? [In reply to] Can't Post

You should know by now that most things worth having on Windoze isn't free Wink

However, blat is free. Sendmail isn't. Your choice.

You'll have to refer to the documentation for blat to learn how to use it in your programs.

Sendmail usage is the same as on Linux. You can download the demo version to test it out -- I registered it right off the bat, so I don't know the possible limitations of the demo version.

<rant>
I really don't get why it's a "ripoff" -- programs don't write themselves. If a freeware version isn't available and a commercial enterprise chooses fills in the gap, they have the right to choose to be recompensed.

It always irks me when someone says that anything that isn't free is a "ripoff". In that line of thinking, Redhat, Windoze and 90% of the available operating systems are ripoffs (okay, so some would agree that they are anyway, but you get my point).

So don't buy them. You always have the option to write it yourself and give it away for free. If you don't have the expertise to do that, don't begrudge those who have out of a reasonable fee for their work.

As you can see, this is a pet peeve of mine.
</rant>



ultimategamer2k
User

Jan 27, 2001, 11:15 AM

Post #5 of 10 (7385 views)
Re: path to mail? [In reply to] Can't Post

sorry bout that dude, its just that i think that apache should have that installed

visit my web site at http://ultimategamer.cjb.net


Jasmine
Administrator

Jan 27, 2001, 3:34 PM

Post #6 of 10 (7384 views)
Re: path to mail? [In reply to] Can't Post

Ummm -- why? Smile Apache and Sendmail are 2 different programs written by 2 different sets of programmers.



ultimategamer2k
User

May 6, 2001, 12:06 PM

Post #7 of 10 (7336 views)
Re: path to mail? [In reply to] Can't Post

because it would make things much easier

-------------------------------------------------------------
visit my web site at <a href=http://ultimategamer.cjb.net>here</a>


rjoseph
Novice

May 6, 2001, 4:29 PM

Post #8 of 10 (7332 views)
Re: path to mail? [In reply to] Can't Post

Why not try Mail::Sendmail - a "Simple platform independent mailer"?

r j o s e p h
"Violence is a last resort of the incompetent" - Foundation


binhd
stranger

Nov 30, 2001, 12:41 PM

Post #9 of 10 (7291 views)
Re: path to mail? [In reply to] Can't Post

I downloaded and set blat on my win2000.
How do I use Blat to send inputs through email? Please help.

I have a very simple script that take inputs from the user and email them to the admin. I used sendmail in Linux and it work fine, but it does work with blat on Window.

here is part of the script:
sub MailAdmin {
open(MAIL, "|$mailprog -t");
print MAIL "To: $adminaddr\n";
print MAIL "From: $name\n";
print MAIL "Subject: Test Result\n";
print MAIL "\n";
print MAIL "The following is the test result on $use_date\n";
print MAIL "Passed:\n";
print MAIL "\tLM32s\t= $LM32P\n";

print MAIL "\n";
print MAIL "Total:\t $TotalF\n";
print MAIL "\n";
print MAIL "Brief Comments:\n\n";
print MAIL "$DATA{'Comments'}\n";
close(MAIL);
}

Any help on how to use blat program with the script above is very much appreciated.

Thank you.

Binhd





wpearsall
Novice

Jun 29, 2002, 2:35 AM

Post #10 of 10 (7106 views)
Re: [Jasmine] path to mail? [In reply to] Can't Post

this works just like on a unix sendmail right?

I can call it say with a tell a friend code such as [url=http://designz.yoll.net/tell_a_friend.html]this, without adding a ton of stuff?



and i agree with the reasonable charge, i have written a couple of quick programs, I Gave them ppl, they made money from using one or two (not much but still made cash) and then i get complaint emails from users such as :

*oh how come i cant do this with this-that-and-the-other, blahty blahh can do this with their version of another program that they brought*

Reply: i will consider adding it, but u got the program for free, whats the problem? you havent lost nothing, your making free cash!

*cant u add the feature now?*

reply: No, im busy with things im doing on my site, If you want to have the feature now, dip you hands in your pocket and buy your friends version, or ask your friend to send it to you!



can get a bit of a p--- off for ya when u spend your time, and people arn't happy with what u give em! :arggh:

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives