[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 165
  • Last Modified:

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
0
Gnissman
Asked:
Gnissman
  • 4
  • 3
1 Solution
 
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
 
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
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now