sending mail in win

I need to send an e-mail from within my perlscript, but it is running on an NT-server. Thus I do not have access to a sendmail. I am new to this, and all I know that we use an Exchange-Server for our mailsystem.

Is there some way of sending an email?

Thanks a lot,
Gniss
LVL 1
GnissmanAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mgoergenCommented:
Hi

http://theory.uwinnipeg.ca/CPAN/data/Mail-Sendmail/

Here you find everything you need to mail from nt server. Just change in sendmail.pm the mail server to your mailserver name and find out that the script is really perfect. We use the same method in our company and we had no problems

Mirko
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
GnissmanAuthor Commented:
I am already using that module, but it seems that I don't have any access to an SMTP server. I always thought they acceppt any mails from any source?? But all I get is a connection reset...

Any ideas...?
0
mgoergenCommented:
I dont thing that this is the problem. What is the name of your mail server? Perhaps you look in the prefs. of your mail Programm I mean outlook or s.th. like that. search for the entrie field mailserver for sending messages.

Another thing could be rights to use the mail server. Do you need a valid account on it? Perhaps you should have a closer look at this point?

Write infos and we will solve it
0
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

GnissmanAuthor Commented:
As mentioned above, it is an ms exchange server. and it seems i need an account there. seems to be no way around i am afraid...

even our smtp-gateway seems to perform a reverse lookup and resets the connection.
0
mgoergenCommented:
Hi

ms exchange server fine. But i guess the right name will be s.th. like mail.yourdomain.com

Normally insite one ip-net(domain) everybody has rights to send mails. when you are outside the domain you need a account. Is it possible for you to change the configuration of the server? If you dont have rights do it ask your admin.
0
GnissmanAuthor Commented:
I am afraid that's where I am hitting the borders of bureaucracy. This is a *very* large company and they surely won't change the configuration just for my tool to run.

Guess I am gonna have to think of some other means of notification...

:-(
0
prakashk021799Commented:
Try BLAT for Windows. Blat is a Public Domain Windows 95/NT console utility that sends the contents of a file in an e-mail message using the SMTP protocol.

http://www.interlog.com/~tcharron/blat.html
0
GnissmanAuthor Commented:
Thank you, I think BLAT will do just fine for me.
Hope I will be able to talk our admin into creating a user for my tool...

Thank you once more!
Gniss
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Perl

From novice to tech pro — start learning today.