Web Design Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignWeb Design Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 15th, 2003, 10:31 AM
utmostrusselb utmostrusselb is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Canada
Posts: 40 utmostrusselb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
E-mail Problem

I have an odd problem. Someone developed a webpage with FrontPage. The form sends an e-mail using Outlook when it is submitted. Have to change the form so that it sends an e-mail directly, without going through Outlook.

I have taken the old code and for the life of me, I cannot find the function that e-mails the information! How can I change it so that the program e-mails through the browser instead?

Reply With Quote
  #2  
Old September 15th, 2003, 10:42 AM
drgroove's Avatar
drgroove drgroove is offline
pushing envelopes, not pencils
Dev Shed God 2nd Plane (6000 - 6499 posts)
 
Join Date: Feb 2002
Posts: 6,223 drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Day 4 h 32 m 57 sec
Reputation Power: 174
Can you post the code for the form?

Really, though, changing the action to the email address *should* do it...
__________________
Give a person code, and they'll hack for a day; Teach them how to code, and they'll hack forever.
Analyze twice; hack once.
The world's first existential ITIL question: If a change is released into production without a ticket to track it,
was it actually released?


About DrGroove: ITIL-Certified IT Process Engineer - Enterprise Application Architect -
Freelance IT Journalist - Devshed Moderator - Funk Bassist Extraordinaire


Reply With Quote
  #3  
Old September 15th, 2003, 11:28 AM
utmostrusselb utmostrusselb is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Canada
Posts: 40 utmostrusselb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Code

What exactly do you mean change the action? Here is the code. I took a lot out.

-- [BEGIN Custom1] -->

<!-- [END Custom1] -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<!-- [BEGIN Custom2] -->

<!-- [END Custom2] -->
<HEAD>
<TITLE>
Contact
</TITLE>
<!-- [BEGIN Layout script] -->
<!-- DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" saved from url=(0043)http://www.***.htm -->
<META CONTENT="***" NAME="author">
<META CONTENT="***" NAME="keywords">
<META CONTENT="***" NAME="description">
<META CONTENT="MSHTML 6.00.2800.1226" NAME="GENERATOR">
<!-- [END Layout script] -->
<SCRIPT>
<!--
var F_A,F_B,F_CH,F_CL,F_DB,F_E,F_F,F_L,F_MT,F_MV,F_R,F_SE,F_SU,F_U,F_HR,F_MU,F_MD;
function F_e(){} function F_n(){} function F_onLoaded(){}
//-->
</SCRIPT>
<SCRIPT>
<!--
function F_doLoaded() {
document.main = new F_cMain();
document.objectModel = new Object();
F_OM('Layout','LayoutLYR', 'doc', '', new Array());
F_OM('FormsButton59' , '', 'btn', 'Layout',new Array(
'Clicked',F_functFormsButton59Action0,'','',0),'Text22FORM',0,'FormsButton1');
F_pageLoaded('Layout');
}
function F_functFormsButton59Action0(params) {
window.location.href = 'thanks.html';
}
//-->
</SCRIPT>
<NOLAYER>
<STYLE ID="NOF_STYLE_SHEET">
</STYLE>

</NOLAYER>
</HEAD>
<BODY NOF="(MB=(, 0, 0, 0, 0), L=(, 667, 1791))" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0033CC" VLINK="#990099" ALINK="#FF0000" onLoad="F_onLoaded();">
<DIV ID="LayoutLYR">
<LAYER ID="LayoutLYR" TOP=0 LEFT=0 VISIBILITY=INHERIT WIDTH="100%" HEIGHT="100%" Z-INDEX=1>
<TABLE CELLPADDING=0 CELLSPACING=0 WIDTH="100%" HEIGHT="100%" VALIGN=TOP>
<TR>
<TD VALIGN=TOP>
<!-- [BEGIN Text1] -->

<!-- [END PRE-Text1] -->
<P ALIGN=CENTER>
<FONT FACE="Arial,Helvetica,Geneva,Sans-serif,sans-serif">
</FONT>
<TABLE WIDTH="100%" BORDER=0 CELLSPACING=0 CELLPADDING=0 NOF=TE>
<TR>
<TD ALIGN="CENTER">
<!-- [BEGIN Table1] -->
<SCRIPT LANGUAGE="JavaScript">

<!-- hide from non JavaScript Browsers
//buttons go here

// stop hiding -->

</SCRIPT>

<!-- [END PRE-Table1] -->
<TABLE ID="Table1" BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=667 NOFINSIDE="~! ~!" >
<COLGROUP>
<COL WIDTH=130>
<COL WIDTH=537>
</COLGROUP>
<TR>
<TD VALIGN=TOP WIDTH=130>
<P>
<FONT FACE="Arial,Helvetica,Geneva,Sans-serif,sans-serif">
<!-- [BEGIN Picture3] -->

//Banner goes here
<BR>
</FONT>
<!-- [BEGIN Table2] -->

<!-- [END PRE-Table2] -->
<TABLE ID="Table2" BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH=537 NOFINSIDE="~! ~!" >
<COLGROUP>
<COL WIDTH=5>
<COL WIDTH=532>
</COLGROUP>
<TR>
<TD WIDTH=5>
<P>
<FONT FACE="Arial,Helvetica,Geneva,Sans-serif,sans-serif">
</FONT>
</P>
</TD>
<TD VALIGN=TOP WIDTH=532>
<FORM NAME="Text22FORM" ENCTYPE="text/plain" ACTION="mailto:kathy@aerialfarmphotos.com" METHOD=POST>
<P ALIGN=RIGHT>
<FONT FACE="Arial,Helvetica,Geneva,Sans-serif,sans-serif">
<BR>
</FONT>
<FONT COLOR="#FF0000" SIZE="-2" FACE="Arial,Helvetica,Geneva,Sans-serif,sans-serif">
>>
</FONT>
<!-- [BEGIN Text22 Link] -->

<!-- [END PRE-Text22 Link] -->

Reply With Quote
  #4  
Old September 15th, 2003, 11:33 AM
drgroove's Avatar
drgroove drgroove is offline
pushing envelopes, not pencils
Dev Shed God 2nd Plane (6000 - 6499 posts)
 
Join Date: Feb 2002
Posts: 6,223 drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Day 4 h 32 m 57 sec
Reputation Power: 174
Looks like the form action already is the email addy...
<FORM NAME="Text22FORM" ENCTYPE="text/plain" ACTION="mailto:kathy@aerialfarmphotos.com" METHOD=POST>

Reply With Quote
  #5  
Old September 15th, 2003, 11:36 AM
drgroove's Avatar
drgroove drgroove is offline
pushing envelopes, not pencils
Dev Shed God 2nd Plane (6000 - 6499 posts)
 
Join Date: Feb 2002
Posts: 6,223 drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Day 4 h 32 m 57 sec
Reputation Power: 174
OK... it *looks* like you'll have to use some sort of server-side scripting language to send this via email w/o launching the user's email application.

Do you have access to any server-side scripting on your server? Such as PHP, Perl, etc. ?

Reply With Quote
  #6  
Old September 15th, 2003, 12:37 PM
utmostrusselb utmostrusselb is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Canada
Posts: 40 utmostrusselb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
No Serverside Code

I ftp'd onto the site and I only see an empty cgi--bin folder, html pages and jpegs.

Reply With Quote
  #7  
Old September 15th, 2003, 01:00 PM
drgroove's Avatar
drgroove drgroove is offline
pushing envelopes, not pencils
Dev Shed God 2nd Plane (6000 - 6499 posts)
 
Join Date: Feb 2002
Posts: 6,223 drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Day 4 h 32 m 57 sec
Reputation Power: 174
Re: No Serverside Code

Quote:
Originally posted by utmostrusselb
I ftp'd onto the site and I only see an empty cgi--bin folder, html pages and jpegs.


Well, CGI is one thing...

You won't be able to tell what server-side scripting capabilities you have access to simply by looking at your server's directory structure.

Are you hosting your website w/ a specific company? Or, is this your own server?

If you're outsourcing this, the company hosting the site can tell you what languages you have access to.

If you're running your own webserver, there are a number of languages you can install.

Reply With Quote
  #8  
Old September 15th, 2003, 03:38 PM
utmostrusselb utmostrusselb is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Canada
Posts: 40 utmostrusselb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
I was thrown this webpage. Now they want me to redesign the whole page. Any idea's on what the simplest way to e-mail from a form would be?

Reply With Quote
  #9  
Old September 15th, 2003, 03:42 PM
drgroove's Avatar
drgroove drgroove is offline
pushing envelopes, not pencils
Dev Shed God 2nd Plane (6000 - 6499 posts)
 
Join Date: Feb 2002
Posts: 6,223 drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Day 4 h 32 m 57 sec
Reputation Power: 174
Yes - the simplest way at this point is to use a server-side scripting language to send the contents of the submitted form to the email address.

Reply With Quote
  #10  
Old September 15th, 2003, 03:50 PM
utmostrusselb utmostrusselb is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Canada
Posts: 40 utmostrusselb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Is there an easier way? I am in school doing this part-time and only learn that kind of thing later this semester. I don't know where to begin???

Reply With Quote
  #11  
Old September 16th, 2003, 03:58 AM
icy_polecat's Avatar
icy_polecat icy_polecat is offline
Senior Polecat
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: Jersey (the original version)
Posts: 210 icy_polecat User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 59 m 57 sec
Reputation Power: 5
Send a message via Yahoo to icy_polecat
At the beginning

As Dr Groove said, first you have to find out what ServerSide languages are available to you.

As you have a CGI bin odds are good you've got Perl.

To find out if you've got PHP ask your hosting provider. Or upload a normal webpage with the file extension .php and see if you can view it.

PHP is sooo much easier to configure to send mail than Perl. Once you've testd for these you need to find a script that sends mail. I found this one after about 30 seconds on HotScripts :

http://www.hotscripts.com/Detailed/25280.html

If you are really new to ServerSide scripting then your best bet is to look for some introductory tutorials. There are loads out there (the ones I taught myself from are at WebMonkey) Just take your time, read through the tutorials and before you know it, you'll be able to write your own scripts.

Remember - we all had to start somewhere!

Icy
__________________
Quidquid latine dictum sit, altum viditur.

http://www.XSet.co.uk

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignWeb Design Help > E-mail Problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support |