Solved

sendindg email in microsoft  NT server - ?

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Perl Regular expression 9 198
Perl DBI Transactions Using Custom Module 7 45
Perl Awk Need Help 3 109
Using Perl DBI to query oracle 3 34
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…
There are many situations when we need to display the data in sorted order. For example: Student details by name or by rank or by total marks etc. If you are working on data driven based projects then you will use sorting techniques very frequently.…
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…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

895 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