Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

sendindg email in microsoft  NT server - ?

Posted on 2000-04-03
3
Medium Priority
?
162 Views
Last Modified: 2010-03-05
1. What is the NT equivalent of the UNIX "sendmail" ?

2. Without using any extra PERL modules what is the best method for sending email from an NT server == any example scripts will ne appreciated

3. USIng additional PERL modules WHICH is the BEST perl module for sending email from an NT server -- again any example scripts will be appreciated

Thanks
0
Comment
Question by:christopher sagayam
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
Gnissman earned 100 total points
ID: 2683166
1. There is an excellent freeware tool called 'blat' that allows you to send the content of files as mails. Get it at http://www.interlog.com/~tcharron/blat.html

2. Here is an example code using blat to send the contents of file "mail.txt" to "dummy@dummy.com" using "MySubjectLine" as subject:
------------------------------
$mailresult = `c:/blat.exe c/mail.txt -s MySubjectLine -t dummy@dummy.com`;
------------------------------

3. http://theory.uwinnipeg.ca/CPAN/data/Mail-Sendmail    Example:
------------------------------
$mailer = Mail::Mailer->new("smtp","dummynet");
$mailer->open({
  From  => "me\@you.com",
  To    => "dummy\@dummy.com",
  Subject => "MySubjectLine",
 });
print $mailer "Here goes the text!\n";
$mailer->close();
------------------------------

Hope this helps,
Gniss

0
 
LVL 6

Author Comment

by:christopher sagayam
ID: 2684077
Thanks a lot ..I will credit the points to you IF I dont get a better answer
0
 
LVL 6

Author Comment

by:christopher sagayam
ID: 2831006
SOrry for the delay
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

On Microsoft Windows, if  when you click or type the name of a .pl file, you get an error "is not recognized as an internal or external command, operable program or batch file", then this means you do not have the .pl file extension associated with …
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Six Sigma Control Plans

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question