iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar Mark Forums Read
Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-01-2009, 10:24 PM
Milo's Avatar
WebProWorld Pro
 
Join Date: Nov 2004
Location: Cabarita Beach, Australia
Posts: 149
Milo RepRank 1
Default Form field warning for hotmail email address

Hi guys,
I'm having a lot of rejected emails when sending responces to Hotmail accounts (aren't we all

What I want to do is give an automatic warning (javascript or ajax preferably) on my contact us page form when someone puts a hotmail address in the email address field. The warning would have a message directing them to the helpdesk on our site. Ideally this warning would arrive as soon as the email address is entered.
Does anyone know a script for this?
Cheers.
Miles
__________________
Miles Kitchen
Wedding Invitation Specialists
Reply With Quote
  #2 (permalink)  
Old 10-01-2009, 11:53 PM
WebProWorld New Member
 
Join Date: Oct 2009
Posts: 1
prasanthmj RepRank 0
Default Re: Form field warning for hotmail email address

search for hotmail in the value as shown in the code below

Sample code:

HTML Code:
<script language='JavaScript'>
function TestHotmail()
{
    if(document.myform.email.value.search(/homail.com/)>=0)
    {
        document.getElementById('emailerr').innerHTML="No hotmail please!";
    }
}
</script>
<input name='email' onBlur='javascript: TestHotmail()'>
<span id='emailerr'></span>
Reply With Quote
  #3 (permalink)  
Old 10-02-2009, 12:22 AM
Milo's Avatar
WebProWorld Pro
 
Join Date: Nov 2004
Location: Cabarita Beach, Australia
Posts: 149
Milo RepRank 1
Default Re: Form field warning for hotmail email address

Thanks for that, but can you elaborate further. If this is my code

<td><label>email
<input type="text" name="textfield" />
</label></td>

where would I put yours?
Regards.
Miles
__________________
Miles Kitchen
Wedding Invitation Specialists
Reply With Quote
  #4 (permalink)  
Old 10-02-2009, 08:53 AM
DaveSawers's Avatar
WebProWorld Veteran
 
Join Date: Dec 2006
Location: Calgary, Alberta, Canada
Posts: 492
DaveSawers RepRank 3DaveSawers RepRank 3
Default Re: Form field warning for hotmail email address

Why are you having trouble sending e-mails to Hotmail? It's a perfectly valid place to have an e-mail address. I suggest you address the problems with your e-mail system instead of rejecting customers.

I always use my Hotmail account for ordering stuff that might result in offer spam so it doesn't get mixed up with my work stuff. I never have any trouble with ordering or receiving e-mails.

If I got a message such as the one you are proposing I would go elsewhere to buy.
__________________
Dynamic Software Development
www.activeminds.ca
Reply With Quote
  #5 (permalink)  
Old 10-02-2009, 08:17 PM
Milo's Avatar
WebProWorld Pro
 
Join Date: Nov 2004
Location: Cabarita Beach, Australia
Posts: 149
Milo RepRank 1
Default Re: Form field warning for hotmail email address

"Why are you having trouble sending e-mails to Hotmail? It's a perfectly valid place to have an e-mail address. I suggest you address the problems with your e-mail system instead of rejecting customers.

I always use my Hotmail account for ordering stuff that might result in offer spam so it doesn't get mixed up with my work stuff. I never have any trouble with ordering or receiving e-mails.

If I got a message such as the one you are proposing I would go elsewhere to buy. "

I find hotmail and live very erratic and frustrating. When I reply to these addresses I have no idea beforehand if their system will let my email through. Half the time it does and half the time it doesn't, so the only reason I'm trying to get them to go through my helpdesk is to assure my customers of a responce. Believe me, I would prefer to simply reply to an email, rather than login to my helpdesk and send an email through that system.
I am not on any spam list to my knowledge and have no idea why some of my emails get rejected, while other go through fine.
__________________
Miles Kitchen
Wedding Invitation Specialists
Reply With Quote
  #6 (permalink)  
Old 10-02-2009, 10:04 PM
deepsand's Avatar
WebProWorld 1,000+ Club
WebProWorld MVP
 
Join Date: May 2004
Location: Philadelphia, PA
Posts: 3,269
deepsand RepRank 9deepsand RepRank 9deepsand RepRank 9deepsand RepRank 9deepsand RepRank 9deepsand RepRank 9deepsand RepRank 9deepsand RepRank 9deepsand RepRank 9deepsand RepRank 9deepsand RepRank 9
Default Re: Form field warning for hotmail email address

Odd, given that MSN's spam filters are some of the most porous that I've ever seen.

Neither I or any of my clients have ever experienced such problem outside of the case when such was the result of the intended recipient's allow/disallow settings.

Have you made any effort to determine the extent to which such intended recipients are using a local client, such as Outlook or Outlook Express, as opposed to viewing their e-mail online?
Reply With Quote
  #7 (permalink)  
Old 10-07-2009, 08:37 AM
WebProWorld Member
 
Join Date: Mar 2007
Posts: 50
luigip RepRank 1
Default Re: Form field warning for hotmail email address

Hi Milo, do you use a mail-address like this: "xyz@dizzidezine.com.au" or are you using something like "xyz@mail-provider.com"?
In the first case change your text in the mails. Examine with an own receiving hotmail-account what the stopwords are.
In the second case use another, your own mail-address ("xyz@dizzidezine.com.au") for sending. And then check point "first case".
__________________
Wetter - Regenradar
Reply With Quote
  #8 (permalink)  
Old 10-14-2009, 08:35 PM
Milo's Avatar
WebProWorld Pro
 
Join Date: Nov 2004
Location: Cabarita Beach, Australia
Posts: 149
Milo RepRank 1
Default Re: Form field warning for hotmail email address

Hi luigip,
thank you for that input. I'll do as you said. Can't hurt to try.
Regards.
__________________
Miles Kitchen
Wedding Invitation Specialists
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Stopped receiving all WPW email notifications, changing email address doesn't work Clint1 WebProWorld: Guidelines/Announcements/Suggestions 7 09-24-2009 03:21 PM
Send me a copy field in form Milo Web Programming Discussion Forum 12 10-01-2008 03:53 AM
Email spam bots - display name vs. actual email address apalmer123@msn.com Web Programming Discussion Forum 25 09-04-2007 02:13 PM
Form validation for the email field, using formmail script. darren13 Web Programming Discussion Forum 1 04-28-2006 03:00 AM
MySQL Inserting email field tenaki Database Discussion Forum 6 04-06-2004 06:45 PM


All times are GMT -4. The time now is 05:07 PM.



Search Engine Optimization by vBSEO 3.3.0