Results 1 to 6 of 6
Related
-
Sending forms VIA email??? HelP? Forum: HTML Forum
Replies: 2 -
help with sending email Forum: ASP Forum
Replies: 1 -
How to email a HTML url in Perl Forum: CGI Perl Forum
Replies: 0
-
04-26-2005, 10:34 AM #1
Sending email via Perl through MS Exchange Server
Hello,
Uptil now I have looking at writing a script employing use of SMTP module and also sender-mail. But not having success and believe this may becasue my machine not using SMTP but goes through MS Exchange server.
Can someone please suggest how I go about doing this and aslo what module I need to install?
BTW I am running Activstate Perl
This is perl, v5.8.6 built for MSWin32-x86-multi-thread
(with 3 registered patches, see perl -V for more detail)
on WIN2000.
-
04-29-2005, 06:40 AM #2
Re: Sending email via Perl through MS Exchange Server
Sorted!!!!!!!!!!!!!
-
04-29-2005, 06:21 PM #3
Re: Sending email via Perl through MS Exchange Server
Great! Sorry that no-one could help, that was quite a specialised question. Would you mind sharing your solution for those that come after?
If one of our members helps you, please click theicon to add to their reputation!
No support via email or private message - use the forums!
Before you ask, have you Searched?
-
04-29-2005, 07:25 PM #4
Re: Sending email via Perl through MS Exchange Server
ya, i would have helped you, but i am in the stage where i know how to code cgi/perl, but still need to learn all the special variables, and some of the functions (i used to know VB, VB.NET, and little C#, but decided to take a swing at cgi/perl)
-
05-13-2005, 11:10 AM #5
Re: Sending email via Perl through MS Exchange Server
Hi, I am interesed in doing something similar. Can you post your solution? I am pretty good a perl programming, however I have no previous experience working with SMTP and MS Exchange.
Thanks
-
05-17-2005, 08:12 PM #6
Re: Sending email via Perl through MS Exchange Server
After struggling for a while (because first time coding email programs) I was able to find how to do the trick, Using Perl modules MIME::Lite and Net::SMTP you can accomplish this (send emails through an ms exchange smtp server) If you need authentication (ie. server does not relay) then substitute Net::SMTP for Net::SMTP_auth. The trick to make this two work together is to create a email message with MIME::Lite (you can add attachments, use html or text) then convert the MIME::Lite object into a string (there is a method to do it within the module) then using the datasend(string) method from Net::SMTP your email will be ready to go.
Cloudjiffy- PaaS for Developers
10-05-2020, 12:30 AM in Web Hosting Forum