Solved

sendindg email in microsoft  NT server - ?

Posted on 2000-04-03
3
160 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 25 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

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 …
Many time we need to work with multiple files all together. If its windows system then we can use some GUI based editor to accomplish our task. But what if you are on putty or have only CLI(Command Line Interface) as an option to  edit your files. I…
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

615 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