AlphaOne Technology Support Forums
Welcome, Guest. Please login or register.
December 03, 2008, 04:19:41 PM

Login with username, password and session length
Search:     Advanced search
1733 Posts in 827 Topics by 4765 Members
Latest Member: hunteryazmin
* Home Help Search Login Register
AlphaOne Technology Support Forums  |  SUPPORT CENTER  |  How Do I Questions  |  Topic: Senmail Help 0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Senmail Help  (Read 1205 times)
patientp
Newbie
*
Offline Offline

Posts: 1


View Profile
Senmail Help
« on: January 03, 2006, 01:21:33 PM »

Hello,

I have a form on my site that I want to use sendmail for the submit action.

I see that the path to send mail is : /usr/sbin/sendmail

But to be honest I am not sure what additional information is needed in my form to make this work.  I use Dreamweaver 2004 MX for my editor. Here is the form action that I have in my form now, but it does not work:  rolleyes

<form action='../usr/sbin/sendmail[address]service@patientprofessor.com' method='post' enctype='multipart/form-data' name="Results" target="_blank" class="blue" id="Results">

Thanks for your help,
Bob Miller
Logged
RV Guy
Sr. Member
****
Offline Offline

Posts: 30


View Profile
Re: Senmail Help
« Reply #1 on: January 05, 2006, 04:24:53 AM »

Hi Bob,

The location of sendmail is important mostly in Perl, and it's used in scripting when sending e-mail via the script.  A format for sending e-mail directly from a form is:

<form action=mailto:your@email.address method="POST" enctype="text/plain">

However, it's really not recommended to send form data this way.  The reasoning is that this method is browser-dependent and will most likely not work 100% of the time.  And the browser will encode the form data when it sends it, so you will need to decode the data when you receive it.

The best way is a form-to-email script in PHP or Perl.  There are many good, free scripts available on the internet, just be sure you get a "secure" script; spammers and hackers love the unsecure ones !!  Let the server do the work of sending e-mail, not the user's PC.

Hope this helps, and have a blessed day.

RV Guy


« Last Edit: January 05, 2006, 04:29:26 AM by RV Guy » Logged
Pages: [1] Go Up Print 
AlphaOne Technology Support Forums  |  SUPPORT CENTER  |  How Do I Questions  |  Topic: Senmail Help « previous next »
Jump to:  

Powered by MySQL Powered by PHP AlphaOne Technology Support Forums | Powered by SMF 1.0.7.
© 2001-2005, Lewis Media. All Rights Reserved.
Valid XHTML 1.0! Valid CSS!