homepage Welcome to WebmasterWorld Guest from 54.205.254.108
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
search in mailbox
search in mailbox
strings




msg:3651785
 12:39 pm on May 16, 2008 (gmt 0)

Hi to ALL,
THis is my first post to forum.
Prob: When i send a newsletter to a member of my website(say xyz.com), on his mailbox i want a textbox & search button on mail and when i clik on the button i want a new window to be opened of my website xyz.com and in this window i want my search results executed simulatneaously.
i tried using javascipt but the mailbox they dont support javascript.
using php.
Its urgent.
AMit.

 

WesleyC




msg:3651926
 4:10 pm on May 16, 2008 (gmt 0)

Short answer: It's not possible on any mail client worth its salt.

Mail clients are designed to do one thing: display text. They're good at that, and even at displaying images, but asking them to submit a form to your website is a bad idea. Even if most of them didn't block this behavior (which they do) users aren't used to doing a search from an e-mail, and would probably be suspicious of clicking textboxes and buttons in your email, as they should be. Even if they do figure this out, you're opening them to a wide range of vulnerabilities, including someone spoofing the email and pointing the form to their own server, then asking the user to "log in" and stealing their credentials.

Welcome to WebmasterWorld! :)

jezra




msg:3651996
 5:20 pm on May 16, 2008 (gmt 0)

If the search page on your website uses GET to parse user input, you should be able to put a link in your newsletter to display a specifically crafted search.

for example, your newsletter could look like the following:

Hi everyone,
We now have awesome blue widgets in stock! Big ones, little ones, square ones, round ones, and double super awesome ones. You can view the widgets at:
http://www.example.com/search.php?name=widget&color=blue

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved