Solved

sendindg email in microsoft  NT server - ?

Posted on 2000-04-03
3
142 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
  • 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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
perl script help 5 229
crawling gofundme 4 103
Migrate OTRS to newest version. 1 303
Vb script to unzip a files and rename the files 12 70
A year or so back I was asked to have a play with MongoDB; within half an hour I had downloaded (http://www.mongodb.org/downloads),  installed and started the daemon, and had a console window open. After an hour or two of playing at the command …
In the distant past (last year) I hacked together a little toy that would allow a couple of Manager types to query, preview, and extract data from a number of MongoDB instances, to their tool of choice: Excel (http://dilbert.com/strips/comic/2007-08…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

757 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now