best script language to send emails ?

best script language to send emails ?

am 08.09.2005 22:15:35 von vincent_lepage

Hello,
I have to test a email system, and so have to send a set a testing
emails to it(usually malformed).

I have to choose a script language to do that, I'd like to have some
advice. I'm considering :
- perl
- VB
- php

It has to be low-level enough to deal directly with SMTP server.
It will also need to get the emails from a databse, Access or MySQL.

thank a lot for your opinion !

Re: best script language to send emails ?

am 08.09.2005 22:49:45 von Alan Connor

On comp.mail.misc, in <1126210535.387294.226480@g47g2000cwa.googlegroups.com>, "vincent_lepage" wrote:


So, you are posting anonymously through google groups and
want to know how to script the sending of emails?

Can you say "spammer" boys and girls?


AC

--
People who post through google take and take and never give
back. How many of them have you seen help someone? If they are
asking about anything but how to use a real newsreader, PLEASE
DON'T HELP THEM. -----------> news.software.readers

Re: best script language to send emails ?

am 08.09.2005 22:58:02 von vincent_lepage

well, anonymously, are you sure ?????
(google forced me to give my email address...)

BTW, I know how to use a real newsreader, thank you, but I can not do
it from my company's office.

Well, I rather expected to talk about net::smtp or things like that,
and to learn/share something...

Re: best script language to send emails ?

am 08.09.2005 23:13:20 von AK

vincent_lepage wrote:

> Hello,
> I have to test a email system, and so have to send a set a testing
> emails to it(usually malformed).
>
> I have to choose a script language to do that, I'd like to have some
> advice. I'm considering :
> - perl
> - VB
> - php
>
> It has to be low-level enough to deal directly with SMTP server.
> It will also need to get the emails from a databse, Access or MySQL.
>
> thank a lot for your opinion !
>

Vincent,

Based on your subsequent response, you seem to be inclined to go through
an SMTP session.

If you have access to the system with the mail server you plan on
testing, using a plain old shell and even on the command line the
delivery mechanism can be tested. By cating a message with To, From,
Subject, Date and the body of a message into sendmail -oi -fyouremail -t

AK

Re: best script language to send emails ?

am 08.09.2005 23:45:23 von vincent_lepage

thanks,
yes I have access to a mail server.
I'll take a look at how to do it with shell

vincent

Re: best script language to send emails ?

am 09.09.2005 00:29:49 von William Park

vincent_lepage wrote:
> thanks,
> yes I have access to a mail server.
> I'll take a look at how to do it with shell

You may want to extract what you need from
http://freshmeat.net/projects/popchecksh/
http://home.eol.ca/~parkw/index.html#spam
which does POP3 handshaking. SMTP handshaking isn't be that different.

--
William Park , Toronto, Canada
ThinFlash: Linux thin-client on USB key (flash) drive
http://home.eol.ca/~parkw/thinflash.html
BashDiff: Super Bash shell
http://freshmeat.net/projects/bashdiff/

FAQ: Canonical list of questions Beavis refuses to answer (V1.40) (was Re: best script langua

am 09.09.2005 00:46:21 von Sam

This is a MIME GnuPG-signed message. If you see this text, it means that
your E-mail or Usenet software does not support MIME signed messages.
The Internet standard for MIME PGP messages, RFC 2015, was published in 1996.
To open this message correctly you will need to install E-mail or Usenet
software that supports modern Internet standards.

--=_mimegpg-commodore.email-scan.com-12699-1126219583-0001
Content-Type: text/plain; format=flowed; charset="US-ASCII"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Usenet Beavis writes:

> On comp.mail.misc, in <1126210535.387294.226480@g47g2000cwa.googlegroups.com>, "vincent_lepage" wrote:
> >
>
> So, you are posting anonymously through google groups and
> want to know how to script the sending of emails?
>
> Can you say "spammer" boys and girls?

Can you say "Beavis just had another kookfart"?


MEET THE BEAVIS
(sung to the theme song of "The Flintstones")

Beavis,
meet our Beavis,
He's the resident troll of comp.mail.misc,
Beavis,
reading Beavis,
Endless laughter is your only risk.

Watch him,
spew his blather all day long,
Never,
does it dawn on him how he's wrong.

When you
read our Beavis,
Make sure your bladder's empty,
Because it's laughs a-plenty,
And try not to wet your pants!

I DID NOT READ THIS POOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOST!

************************************************************ **************

FAQ: Canonical list of questions Beavis refuses to answer (V1.40)

This is a canonical list of questions that Beavis never answers. This FAQ is
posted on a semi-regular schedule, as circumstances warrant.

For more information on Beavis, see:

http://angel.1jh.com/nanae/kooks/alanconnor.shtml

Although Beavis has been posting for a long time, he always remains silent
on the subjects enumerated below. His response, if any, usually consists of
replying to the parent post with a loud proclamation that his Usenet-reading
software runs a magical filter that automatically identifies anyone who's
making fun of him, and hides those offensive posts. For more information
see question #9 below.

============================================================ ================

1) If spammers avoid forging real E-mail addresses on spam, then where do
all these bounces everyone reports getting (for spam with their return
address was forged onto) come from?

2) If your Challenge-Response filter is so great, why do you still munge
when posting to Usenet?

3) Do you still believe that rsh is the best solution for remote access?
(http://tinyurl.com/5qqb6)

4) What is your evidence that everyone who disagrees with you, and thinks
that you're a moron, is a spammer?

5) How many different individuals do you believe really post to
comp.mail.misc? What is the evidence for your paranoid belief that everyone,
except you, who posts here is some unknown arch-nemesis of yours?

6) How many times, or how often, do you believe is necessary to announce
that you do not read someone's posts? What is your reason for making these
regularly-scheduled proclamations? Who do you believe is so interested in
keeping track of your Usenet-reading habits?

7) When was the last time you saw Bigfoot (http://tinyurl.com/23r3f)?

8) If your C-R system employs a spam filter so that it won't challenge spam,
then why does any of the mail that passes the filter, and is thusly presumed
not to be spam, need to be challenged?

9) You claim that the software you use to read Usenet magically identifies
any post that makes fun of you. In http://tinyurl.com/3swes you explain
that "What I get in my newsreader is a mock post with fake headers and no
body, except for the first parts of the Subject and From headers."

Since your headers indicate that you use slrn and, as far as anyone knows,
the stock slrn doesn't work that way, is this interesting patch to slrn
available for download anywhere?

10) You regularly post alleged logs of your procmail recipe autodeleting a
bunch of irrelevant mail that you've received. Why, and who exactly do you
believe is interested in your mail logs?

11) How exactly do you "enforce" an "order" to stay out of your mailbox,
supposedly (http://tinyurl.com/cs8jt)? Since you issue this "order" about
every week, or so, apparently nobody wants to follow it. What are you going
to do about it?

12) What's with your fascination with shit? (also http://tinyurl.com/cs8jt)?

13) You complain about some arch-nemesis of yours always posting forged
messages in your name. Can you come up with even a single URL, as an example
of what you're talking about?

14) You always complain about some mythical spammers that pretend to be
spamfighters (http://tinyurl.com/br4td). Who exactly are those people, and
can you post a copy of a spam that you supposedly received from them, that
proves that they're really spammers, and not spamfighters?


--=_mimegpg-commodore.email-scan.com-12699-1126219583-0001
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQBDIL8/x9p3GYHlUOIRAgHIAJ9uCm7oRmmnSN/wOLKtX9MMuanfYQCe IuhY
hLyEdeeGI8x46di3n9TJ398=
=rk1D
-----END PGP SIGNATURE-----

--=_mimegpg-commodore.email-scan.com-12699-1126219583-0001--

Re: best script language to send emails ?

am 09.09.2005 00:48:46 von Sam

This is a MIME GnuPG-signed message. If you see this text, it means that
your E-mail or Usenet software does not support MIME signed messages.
The Internet standard for MIME PGP messages, RFC 2015, was published in 1996.
To open this message correctly you will need to install E-mail or Usenet
software that supports modern Internet standards.

--=_mimegpg-commodore.email-scan.com-12699-1126219728-0002
Content-Type: text/plain; format=flowed; charset="US-ASCII"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

vincent_lepage writes:

> well, anonymously, are you sure ?????
> (google forced me to give my email address...)

Please don't worry about Beavis. He's a well-known paranoia-filled kookbag
on this newsgroup. He shows up once every other week, or so, posts
something stupid, then disappears for another two weeks.

Beavis claims to be a personal friend of Bigfoot (http://tinyurl.com/6dkxn),
who once was kidnapped and raped by Xena, the Warrior Princess
(http://tinyurl.com/4otkh). He is a member of a UFO cult
(http://tinyurl.com/2hhdx), and a practicing dentist
(http://tinyurl.com/3h6a5).

> BTW, I know how to use a real newsreader, thank you, but I can not do
> it from my company's office.
>
> Well, I rather expected to talk about net::smtp or things like that,
> and to learn/share something...

Don't worry about it. Please see the Beavis FAQ, which has just been
posted.



--=_mimegpg-commodore.email-scan.com-12699-1126219728-0002
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQBDIL/Qx9p3GYHlUOIRAhrXAJ9FNXm/aWc+1kdNA6t1cgAb06/JLwCf XuSc
0vHYgG/Ro4TLjvoYZ9hwUIM=
=B3zB
-----END PGP SIGNATURE-----

--=_mimegpg-commodore.email-scan.com-12699-1126219728-0002--

Re: best script language to send emails ?

am 09.09.2005 20:39:46 von vincent_lepage

wouahh ! thanks Sam for the link, I enjoyed.
thanks William too, I'm not very used to shell but this code is helpful
for me.

Re: FAQ: Canonical list of questions Beavis refuses to answer (V1.40) (was Re: best script l

am 09.09.2005 22:38:08 von Alan Connor

On comp.mail.misc, in , "Sam" wrote:
http://slrn.sourceforge.net/docs/README.offline>

'Beavis' doesn't read your posts, nor any responses to them,
and hasn't in years. (regardless of which of your numerous
aliases you are employing at the moment)

And you know this perfectly well. He's told you a hundred times.

So he can't be refusing to answer any questions found in them,
can he?

2+2=4.

I'm sure that your inability to think clearly has a lot to do
with his decision to leave the bodies of your posts on the
server.

AC

--
Usenet Maxim: The more aliases a person has, the less likely
it is that they have anything to say worth reading.

Re: FAQ: Canonical list of questions Beavis refuses to answer (V1.40) (was Re: best script la

am 10.09.2005 03:02:35 von Sam

This is a MIME GnuPG-signed message. If you see this text, it means that
your E-mail or Usenet software does not support MIME signed messages.
The Internet standard for MIME PGP messages, RFC 2015, was published in 1996.
To open this message correctly you will need to install E-mail or Usenet
software that supports modern Internet standards.

--=_mimegpg-commodore.email-scan.com-5634-1126314159-0001
Content-Type: text/plain; format=flowed; charset="US-ASCII"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Usenet Beavis writes:

> On comp.mail.misc, in , "Sam" wrote:
> > http://slrn.sourceforge.net/docs/README.offline>
>
> 'Beavis' doesn't read your posts, nor any responses to them,

That would be Beavis FAQ entry #6

> and hasn't in years. (regardless of which of your numerous
> aliases you are employing at the moment)

Entry #5

> And you know this perfectly well. He's told you a hundred times.

Who's "he" Beavis. You're referring to yourself in third person form. Now
that's something new.

> So he can't be refusing to answer any questions found in them,
> can he?

Wait -- I figured it out. This wasn't posted by Beavis. Bigfoot's posting
to Usenet! That's where all the third person form references must come
from.


> 2+2=4.
>
> I'm sure that your inability to think clearly has a lot to do
> with his decision to leave the bodies of your posts on the
> server.


THE BEAVIS BULL
(sung to the theme song from "The Brady Bunch")

This is a story,
Of a kook named Beavis,
Who was spewing all his nonsense all day long,
Everyone knew it's full of bull,
There's no doubt,
It's 100% all wrong.

This is a story,
Of endless laughter,
At all the nonsense our pet Beavis ever spewed.
He's as nutty as they come,
On alt.kooks,
But he won't read this post.

And when one day our pet Beavis blew his cookies,
With his biggest kookfart known up to now.
Then the truth, has finally dawned on everyone,
That our Beavis is full of bullshit all the time.

The Beavis bull,
The Beavis bull,
That's the way
We all laugh
At all his bull.


--=_mimegpg-commodore.email-scan.com-5634-1126314159-0001
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQBDIjCvx9p3GYHlUOIRApanAJ0azEx2H7Ha0yO5ASZmAK7QU/xlVACf SOzY
dy5a+wB/7+y04io8E4ThUqY=
=d6n4
-----END PGP SIGNATURE-----

--=_mimegpg-commodore.email-scan.com-5634-1126314159-0001--

Re: FAQ: Canonical list of questions Beavis refuses to answer (V1.40) (was Re: best script la

am 11.09.2005 03:23:29 von unknown

Post removed (X-No-Archive: yes)

Re: FAQ: Canonical list of questions Beavis refuses to answer (V1.40) (was Re: best script l

am 11.09.2005 10:57:34 von Frank Slootweg

D. Stussy wrote:
> On Fri, 9 Sep 2005, Alan Connor wrote:
> > On comp.mail.misc, in , "Sam" wrote:
> > > > http://slrn.sourceforge.net/docs/README.offline>
> >
> > 'Beavis' doesn't read your posts, nor any responses to them,
> > and hasn't in years. (regardless of which of your numerous
> > aliases you are employing at the moment)
>
> Alan "Beavis" Connor just replied to such a post he "never reads."
>
> ...And I never thought there could ever be someone truly more stupid than a
> spammer....

Well, it depends on what you mean by "post". He distinguishes between
header and body (see your quote above). He *does* read *headers*, to the
extreme, and (says he) uses the information in the headers to determine
whether or not to download the (header and) body.

So if "post" means header+body, then there no indication/proof that he
(downloaded and) read Sam's "post".

OTOH, if "post" means *any* part of an article, i.e. (part of) header
or/and body, then he indeed (downloaded and) read Sam's "post".

So perhaps AC should clarify what *he* means by "post"! :-)

Re: best script language to send emails ?

am 12.09.2005 14:09:25 von feenberg

vincent_lepage wrote:
> Hello,
> I have to test a email system, and so have to send a set a testing
> emails to it(usually malformed).
>
> I have to choose a script language to do that, I'd like to have some
> advice. I'm considering :
> - perl
> - VB
> - php
>
> It has to be low-level enough to deal directly with SMTP server.
> It will also need to get the emails from a databse, Access or MySQL.
>
> thank a lot for your opinion !

I think whichever language you know best will be the one to choose.
There is a book you might find helpful - "Programming Internet Email"
by David Woods published by O'Reilly.

Daniel Feenberg