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

x
?
Solved

Macintosh form mail script?

Posted on 2002-03-15
6
Medium Priority
?
163 Views
Last Modified: 2013-12-25
I'm helping my brother who is hosting his own site on a Macintosh server. Simple question:

Is there a form mail script similar to Matt's free script formmail.pl for the Macintosh? Or what way can he bext handle form data scripting? Thanks!

Bobby
0
Comment
Question by:powermixx
[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
  • 4
  • 2
6 Comments
 
LVL 5

Expert Comment

by:Peewee
ID: 6868019
powermixx,
have a look at MIME::Lite.

on your webserver do a man MIME::Lite
or go to http://www.cpan.org

This has a great email facility.  It allows you to specify what your email server is.

ie:

 ### Create a new multipart message:
           $msg = MIME::Lite->new(
                        From    =>'me@myhost.com',
                        To      =>'you@yourhost.com',
                        Cc      =>'some@other.com, some@more.com',
                        Subject =>'A message with 2 parts...',
                        Type    =>'multipart/mixed'
                        );
  ### Do something like this in your 'main':
           if ($I_DONT_HAVE_SENDMAIL) {
              MIME::Lite->send('smtp', "smtp.myisp.net", Timeout=>60);
           }
 
           ### Now this will do the right thing:
           $msg->send;         ### will now use Net::SMTP as shown above

regards
Peewee
0
 

Author Comment

by:powermixx
ID: 6869308
i will look at this. But it's general practice here to submit a comment, then let the submiter close the question. When an answer is proposed (like this question is now), no other users may comment on it.

Thanks again. I'll take a look and reply...

Bobby
0
 
LVL 5

Accepted Solution

by:
Peewee earned 200 total points
ID: 6876489
powermixx,

also if you want to look at prewritten stuff, have a quick look at:
 http://cgi.resourceindex.com/Programs_and_Scripts/AppleScript/Form_Processing/

but i'd probably stick with MIME::Lite.

regards
peewee
0
PowerShell Core for Advanced Linux Administrators

Understand advanced principals around Powershell Core with a focus on the Linux Administrator.  This course covers how to administer numerous environments across multiple platforms including Linux, Azure, AWS, and Google Cloud from a single shell instance.

 
LVL 5

Expert Comment

by:Peewee
ID: 6888235
powermixx,
did you get the answer you were looking for..

regards
peewee
0
 

Author Comment

by:powermixx
ID: 6888603
peewee,
Again, I'm helping my brother with this issue. He tells me you have provided enough information to help him solve this issue, so I'll close this question. Thank you for your comments.


Bobby
0
 
LVL 5

Expert Comment

by:Peewee
ID: 6888619
powermixx,
glad to help...

regards
Peewee

0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

This tutorial will discuss the log-in process using WhizBase. In this article I assume you already know HTML. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you might look at some of my other articles abo…
It is a general practice to get rid of old user profiles on a computer  in a LAN environment. As I have been working with a company in a LAN environment where users move from one place to some other place at times. This will make many user profil…
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

715 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