User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 391,551 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,566 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 1663 | Replies: 7
Reply
Join Date: Oct 2006
Posts: 3
Reputation: erinewold is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
erinewold erinewold is offline Offline
Newbie Poster

Question Web Form Submission difficulties

  #1  
Oct 20th, 2006
Hi,

I was just wondering if anyone could help me. I had an HTML web form posted and it was working fine. Then they changed the filters in the email server to block anything that doesn't have a "From" email address.

I'm using Dreamweaver 8. How do I make one of the fields in my form enter as the "From" address so I can get the mail through the spam filters? I'm sure it just has something to do with the code, but being a newbie with forms any help would be appreciated.

Thank you,

Erin
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Oct 2006
Location: India
Posts: 1,289
Reputation: vishesh is on a distinguished road 
Rep Power: 4
Solved Threads: 32
vishesh's Avatar
vishesh vishesh is offline Offline
Nearly a Posting Virtuoso

Re: Web Form Submission difficulties

  #2  
Oct 20th, 2006
Well I use ASP to post messages. What I do is create a CDO object here's the code for that.
<%
Set myMail=CreateObject("CDO.Message")
myMail.Subject="Your Subject"
myMail.From="someone@somedomain.com"
myMail.To="you@yourdomain.com"
myMail.TextBody="Here goes the text"
myMail.Send
%>
Last edited by vishesh : Oct 20th, 2006 at 8:34 pm.
Reply With Quote  
Join Date: Dec 2004
Posts: 1,589
Reputation: tgreer is an unknown quantity at this point 
Rep Power: 7
Solved Threads: 34
Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: Web Form Submission difficulties

  #3  
Oct 21st, 2006
The missing piece of information is the server-side language you're using. It would be better to post in the appropriate language-specific forum rather than the general HTML forum.
Reply With Quote  
Join Date: Oct 2006
Location: India
Posts: 1,289
Reputation: vishesh is on a distinguished road 
Rep Power: 4
Solved Threads: 32
vishesh's Avatar
vishesh vishesh is offline Offline
Nearly a Posting Virtuoso

Re: Web Form Submission difficulties

  #4  
Oct 21st, 2006
Well, sorry for that, won't do that next time. Infact this is due to firefox, tabbed browsing, you open a large number of forums and when you read threads and reply u write something else. Again I apologize. I would start dreamweaver the moment I reach home and give appropriate answer.
Last edited by vishesh : Oct 21st, 2006 at 5:45 am.
Reply With Quote  
Join Date: Oct 2006
Posts: 3
Reputation: erinewold is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
erinewold erinewold is offline Offline
Newbie Poster

Re: Web Form Submission difficulties

  #5  
Oct 21st, 2006
Just a little more information.

I have the form created. I just need the text area that the user fills their email address into to automatically populate the "From" in the header of the email so we can reply to the form and the filter won't block it.

Thank you,

Erin
Reply With Quote  
Join Date: Dec 2004
Posts: 1,589
Reputation: tgreer is an unknown quantity at this point 
Rep Power: 7
Solved Threads: 34
Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: Web Form Submission difficulties

  #6  
Oct 21st, 2006
Again, which server-side language are you using to process the form and generate the email?
Reply With Quote  
Join Date: Oct 2006
Posts: 3
Reputation: erinewold is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
erinewold erinewold is offline Offline
Newbie Poster

Re: Web Form Submission difficulties

  #7  
Oct 21st, 2006
I believe that it's just HTML. The current form is just HTML and JavaScript, and the email server is a Microsoft Exchange Server.
Reply With Quote  
Join Date: Dec 2004
Posts: 1,589
Reputation: tgreer is an unknown quantity at this point 
Rep Power: 7
Solved Threads: 34
Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: Web Form Submission difficulties

  #8  
Oct 21st, 2006
If you're only using HTML and JavaScript, then you aren't doing things in a standard way. The methods that do work (such as setting the action tag of your form to "mailto:") are highly dependent on specific browsers, operating systems, and email clients. If you've jury-rigged something together that works, more power to you, but it's going to be extremely hard for anyone else to test or help.

Typically, form results are delivered to a web server application via a POST. The application process the results and performs any variety of actions, including sending the results via SMTP to an email address. Thus the assumption and repeated question of "which server-side language are you using?".

Again, there isn't any standardized "client-only" method of emailing form results.
Last edited by tgreer : Oct 21st, 2006 at 10:40 pm.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb HTML and CSS Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the HTML and CSS Forum

All times are GMT -4. The time now is 9:19 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC