Hi, Unregistered. | Today's Posts

T-Shirt Forums
User Name
Password

Need to Register?

Forgot Your Password?


Site Navigation







+   T-Shirt Forums > T-Shirt Selling > Ecommerce Site Design
Discuss website design for ecommerce sites, useability, navigation and other development considerations. To get feedback on your t-shirt design(s) or website, please post a request in our Site Reviews and Design Reviews section here.

Email Form: break apart email address...How?



 
Share This Thread Thread Tools Search this Thread
Old December 2nd, 2008 Dec 2, 2008 7:29:30 AM -   #1 (permalink)
TSF Veteran
Certified T-Shirt Junkie

T-BOT's Avatar
 
You can call me: Lucy
Member Since: Jul 2006
Location: Canada
Posts: 3,800
Thanks: 9
Thanked 37 Times in 31 Posts
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)


Default Email Form: break apart email address...How?

Before I spend hours figuring this out, maybe someone here can help?

In a contact form where you ask the user to type in their Email address ([email address]), I would like the user to type in *example* only then the user would select the @site.xxx from a drop down menu to send the complete email address.

So after the user sends the form information, I would receive the email field complete as [email address]

in other words, how can i break apart the email address on the form for the user and receive it complete?

hope this makes sense.


any help appreciated.


:
__________________
www.T-BOT.net - Happy Holidays Bruno.

Last edited by T-BOT; December 2nd, 2008 at 07:30 AM. Reason: EMAIL
 
Digg this Post!Add Post to del.icio.us Tweet about this Post!
Old December 2nd, 2008 Dec 2, 2008 8:16:37 AM -   #2 (permalink)
T-Shirt Lover
T-Shirt Aficionado

aplusbowling's Avatar
 
You can call me: Tim
Member Since: Dec 2007
Posts: 295
Thanks: 4
Thanked 34 Times in 24 Posts
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)


Default Re: Email Form: break apart email address...How?

What programming language are you using for the script to send the email?
 
Digg this Post!Add Post to del.icio.us Tweet about this Post!
The Following User Says Thank You to aplusbowling For This Useful Post:
T-BOT (December 2nd, 2008)
Old December 2nd, 2008 Dec 2, 2008 9:18:15 AM -   #3 (permalink)
TSF Veteran
Certified T-Shirt Junkie
Thread Starter

T-BOT's Avatar
 
You can call me: Lucy
Member Since: Jul 2006
Location: Canada
Posts: 3,800
Thanks: 9
Thanked 37 Times in 31 Posts
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)


Default Re: Email Form: break apart email address...How?

Quote:
Originally Posted by aplusbowling
What programming language are you using for the script to send the email?
Copyright 1995-2002 Matt Wright formmail PERL script. ...talk about old.

but any other email script you could recommend that would allow this function I need would do.



:
__________________
www.T-BOT.net - Happy Holidays Bruno.
 
Digg this Post!Add Post to del.icio.us Tweet about this Post!
Old December 2nd, 2008 Dec 2, 2008 9:22:51 AM -   #4 (permalink)
T-Shirt Lover
T-Shirt Wizard

perrolocodesigns's Avatar
 
You can call me: Ken
Member Since: Oct 2006
Location: North Carolina
Posts: 570
Thanks: 7
Thanked 29 Times in 24 Posts
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)


Default Re: Email Form: break apart email address...How?

There are way too many server extensions to do that efficiently. You would have to include all the major email servers (google), cable companies (roadrunner), phone companies (bellsouth), etc, and you still wouldn't cover folks with a business email like "ken @abctrucks.com". Even if you could know all of the server extensions that are in use, the drop-down list would be tens of thousands of choices.

For a contact form, the user should be able to enter their entire email, or you'll be excluding many people from contacting you.
__________________
350tees.com
Talk Is Cheap, Especially On Our Shirts
 
Digg this Post!Add Post to del.icio.us Tweet about this Post!
The Following User Says Thank You to perrolocodesigns For This Useful Post:
T-BOT (December 2nd, 2008)
Old December 2nd, 2008 Dec 2, 2008 9:46:04 AM -   #5 (permalink)
TSF Veteran
Certified T-Shirt Junkie
Thread Starter

T-BOT's Avatar
 
You can call me: Lucy
Member Since: Jul 2006
Location: Canada
Posts: 3,800
Thanks: 9
Thanked 37 Times in 31 Posts
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)


Default Re: Email Form: break apart email address...How?

Quote:
Originally Posted by perrolocodesigns
There are way too many server extensions to do that efficiently. You would have to include all the major email servers (google), cable companies (roadrunner), phone companies (bellsouth), etc, and you still wouldn't cover folks with a business email like "ken @abctrucks.com".
Ken, I understand your point.

But the project Im working ON the @company.xxx are specific cell phone service providers with gateways that deliver Emails as SMS.



:
__________________
www.T-BOT.net - Happy Holidays Bruno.
 
Digg this Post!Add Post to del.icio.us Tweet about this Post!
Old December 2nd, 2008 Dec 2, 2008 11:02:42 AM -   #6 (permalink)
TSF Veteran
Certified T-Shirt Junkie

splathead's Avatar  - this member was voted Most Helpful Member during our Annual August Member Appreciation Month
 
You can call me: Joe
Member Since: Dec 2005
Location: San Antonio
Posts: 8,351
Thanks: 196
Thanked 1,530 Times in 1,338 Posts
Mentioned: 13 Post(s)
Tagged: 0 Thread(s)


Default Re: Email Form: break apart email address...How?

I understand what you want to do and assume you want to do it that way so you don't get customers whose service you don't support?

If no one else chimes in with an answer, what about just having the customer enter their full address and then have that field validated for the correct carriers? If it is a carrier you don't support, the customer would get an error message explaining.
 
Digg this Post!Add Post to del.icio.us Tweet about this Post!
The Following User Says Thank You to splathead For This Useful Post:
T-BOT (December 2nd, 2008)
Old December 2nd, 2008 Dec 2, 2008 12:24:53 PM -   #7 (permalink)
TSF Veteran
Certified T-Shirt Junkie
Thread Starter

T-BOT's Avatar
 
You can call me: Lucy
Member Since: Jul 2006
Location: Canada
Posts: 3,800
Thanks: 9
Thanked 37 Times in 31 Posts
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)


Default Re: Email Form: break apart email address...How?

Quote:
Originally Posted by splathead
I...assume you want to do it that way so you don't get customers whose service you don't support?
Joe, yes and no.

Yes I want to exclude users who DO NOT have a cell phone.

and No, I do not want to exclude users that do have a cell phone number.

ok, here is more info on the project to help you folks help me.


Basically, a user with a cell phone number would type in their number in the email field (555 555 5555). Then they would choose their cell phone service provider from a dropdown menu (@TNT.xxx). In the actual value of the (@TNT.xxx) on the send form required it would be something like: @mail.whatever.TNT.xxx).

Why would I not ask the user to type in [email address] ? because most cell phone users do not know the cell phone service provider's email address gateway (@mail.whatever.TNT.xxx) .

One of the end purposes of this is to be able to receive payments by having a already signed up user type in their cell phone number ONLY to pay.. This function would internaly pull up the users CC and shipping info on the sellers system.

Then a security code/number would be generated and sent to the user via SMS to the cell phone in real time. Then the user would type in the security number on the webpage to complete the transaction.

Of course they would need to signup and login to a HTTPS server before any of it.


can you folks tell me how I can get the users imput tel # to attach itself to a @whatever.xxx dropdown menu off a web email form and receive the users complete email address?


I cant figure it out.


Help!!!!!!



:
__________________
www.T-BOT.net - Happy Holidays Bruno.
 
Digg this Post!Add Post to del.icio.us Tweet about this Post!
Old December 2nd, 2008 Dec 2, 2008 12:35:40 PM -   #8 (permalink)
TSF Veteran
Certified T-Shirt Junkie

splathead's Avatar  - this member was voted Most Helpful Member during our Annual August Member Appreciation Month
 
You can call me: Joe
Member Since: Dec 2005
Location: San Antonio
Posts: 8,351
Thanks: 196
Thanked 1,530 Times in 1,338 Posts
Mentioned: 13 Post(s)
Tagged: 0 Thread(s)


Default Re: Email Form: break apart email address...How?

It can be done with a calculated field in your underlying database. Not sure which database you are using, but the results of the calculated field would be: [user tele number]+ "@"+[carrier]
 
Digg this Post!Add Post to del.icio.us Tweet about this Post!
The Following User Says Thank You to splathead For This Useful Post:
T-BOT (December 2nd, 2008)
Old December 2nd, 2008 Dec 2, 2008 1:04:12 PM -   #9 (permalink)
T-Shirt Lover
T-Shirt Wizard

perrolocodesigns's Avatar
 
You can call me: Ken
Member Since: Oct 2006
Location: North Carolina
Posts: 570
Thanks: 7
Thanked 29 Times in 24 Posts
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)


Default Re: Email Form: break apart email address...How?

Quote:
Originally Posted by T-BOT
Ken, I understand your point.

But the project Im working ON the @company.xxx are specific cell phone service providers with gateways that deliver Emails as SMS.:
Now that makes sense...good luck finding the best way to make it work.
__________________
350tees.com
Talk Is Cheap, Especially On Our Shirts
 
Digg this Post!Add Post to del.icio.us Tweet about this Post!
Old December 2nd, 2008 Dec 2, 2008 3:04:32 PM -   #10 (permalink)
Administrator
Certified T-Shirt Junkie

Rodney's Avatar
 
You can call me: Rodney
Member Since: Nov 2004
Location: Sacramento, CA
Posts: 25,838
Thanks: 5,083
Thanked 4,273 Times in 2,522 Posts
Blog Entries: 8
Mentioned: 18 Post(s)
Tagged: 0 Thread(s)


Default Re: Email Form: break apart email address...How?

Do you want to just receive the whole [email address] as part of the form submission, or do you want the form submission to go to the [email address] that the user selects?

I'm not much of a programmer, but I'm trying to wrap my head around what you're trying to do
__________________
Rodney Blackwell - We're selling our 100% Natural Extravaganza T-Shirt For Charity!
PrinterListings.com: a place find, rate, and review custom t-shirt printing businesses


 
Digg this Post!Add Post to del.icio.us Tweet about this Post!
Old December 2nd, 2008 Dec 2, 2008 3:12:15 PM -   #11 (permalink)
Administrator
Certified T-Shirt Junkie

Rodney's Avatar
 
You can call me: Rodney
Member Since: Nov 2004
Location: Sacramento, CA
Posts: 25,838
Thanks: 5,083
Thanked 4,273 Times in 2,522 Posts
Blog Entries: 8
Mentioned: 18 Post(s)
Tagged: 0 Thread(s)


Default Re: Email Form: break apart email address...How?

Looking again at your post #7 above, I *think* what you can do is show the user one thing in the dropdown but actually have the form send YOU something different like:

HTML Code:
<option value="txt.att.net">ATT</option>
This would show the user "ATT" in the dropdown, but it would send you @txt.att.net when you get the form.

Hopefully this is in the right direction of what you're looking for?
__________________
Rodney Blackwell - We're selling our 100% Natural Extravaganza T-Shirt For Charity!
PrinterListings.com: a place find, rate, and review custom t-shirt printing businesses


 
Digg this Post!Add Post to del.icio.us Tweet about this Post!
The Following User Says Thank You to Rodney For This Useful Post:
T-BOT (December 2nd, 2008)
Old December 2nd, 2008 Dec 2, 2008 3:21:53 PM -   #12 (permalink)
TSF Veteran
Certified T-Shirt Junkie

splathead's Avatar  - this member was voted Most Helpful Member during our Annual August Member Appreciation Month
 
You can call me: Joe
Member Since: Dec 2005
Location: San Antonio
Posts: 8,351
Thanks: 196
Thanked 1,530 Times in 1,338 Posts
Mentioned: 13 Post(s)
Tagged: 0 Thread(s)


Default Re: Email Form: break apart email address...How?

Quote:
Originally Posted by Rodney
Looking again at your post #7 above, I *think* what you can do is show the user one thing in the dropdown but actually have the form send YOU something different like:

HTML Code:
<option value="txt.att.net">ATT</option>
This would show the user "ATT" in the dropdown, but it would send you @txt.att.net when you get the form.

Hopefully this is in the right direction of what you're looking for?
Rodney, she is trying to combine two different form questions into 1 answer.

Mobile Telephone Number:

Carrier:

And she wants to get back an answer of [email address] as an example.
 
Digg this Post!Add Post to del.icio.us Tweet about this Post!
The Following User Says Thank You to splathead For This Useful Post:
T-BOT (December 2nd, 2008)
Old December 2nd, 2008 Dec 2, 2008 3:49:31 PM -   #13 (permalink)
TSF Veteran
Certified T-Shirt Junkie
Thread Starter

T-BOT's Avatar
 
You can call me: Lucy
Member Since: Jul 2006
Location: Canada
Posts: 3,800
Thanks: 9
Thanked 37 Times in 31 Posts
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)


Default Re: Email Form: break apart email address...How?

Quote:
Originally Posted by Rodney
HTML Code:
<option value="txt.att.net">ATT</option>
This would show the user "ATT" in the dropdown, but it would send you @txt.att.net when you get the form.
Yep, that is part of it and that I can do.

but as joe said:

Quote:
Rodney, she is trying to combine two different form questions into 1 answer.

Mobile Telephone Number:

Carrier:

And she wants to get back an answer of as an example.
....above is what I need to do.

Im comfortable with Matt Wright formmail PERL script.

Anyone outthere that can help me out with this one...don't be shy.




:
__________________
www.T-BOT.net - Happy Holidays Bruno.
 
Digg this Post!Add Post to del.icio.us Tweet about this Post!
Old December 2nd, 2008 Dec 2, 2008 4:03:00 PM -   #14 (permalink)
TSF Veteran
Certified T-Shirt Junkie

splathead's Avatar  - this member was voted Most Helpful Member during our Annual August Member Appreciation Month
 
You can call me: Joe
Member Since: Dec 2005
Location: San Antonio
Posts: 8,351
Thanks: 196
Thanked 1,530 Times in 1,338 Posts
Mentioned: 13 Post(s)
Tagged: 0 Thread(s)


Default Re: Email Form: break apart email address...How?

Lucy, how do you get the form answers? In a database or simply as an email? If a database, is it mysql?
 
Digg this Post!Add Post to del.icio.us Tweet about this Post!
Old December 2nd, 2008 Dec 2, 2008 4:04:28 PM -   #15 (permalink)
T-Shirt Lover
T-Shirt Aficionado

aplusbowling's Avatar
 
You can call me: Tim
Member Since: Dec 2007
Posts: 295
Thanks: 4
Thanked 34 Times in 24 Posts
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)


Default Re: Email Form: break apart email address...How?

In the PERL script there will be variables for your two fields("username" for the first part of the email and the "@whetever.xxx"). You will need to declare a new variable and combine (concatenate) the first two fields into this one. The new variable can then be saved to the database.

EX...

var1 = (the name of your first field)
var2 = (the name of your second field)
var3 = var1 + var2

I haven't used the PERL script in quite sometime, so I'm not sure of the exact syntax. If you want to paste the code into a PM and send it to me, I'll take a look. Be sure to let me know the field names in your form.
 
Digg this Post!Add Post to del.icio.us Tweet about this Post!
The Following User Says Thank You to aplusbowling For This Useful Post:
T-BOT (December 4th, 2008)






This is a discussion about Email Form: break apart email address...How? that was posted in the Ecommerce Site Design section of the forums.

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing email address on Ebay....BE CAREFUL! knifemaker3 General T-Shirt Selling Discussion 0 June 13th, 2008 07:23 PM
i just got this email ???? punkapalooza General T-Shirt Selling Discussion 17 November 10th, 2006 12:28 PM
Spam! protecting your email address on your business site? DecadentSavant Ecommerce Site Design 14 October 12th, 2006 03:54 PM


All times are GMT -8. The time now is 02:09 PM.


Copyright 2004-2012 T-ShirtForums.com. All rights reserved.