Reply to Re: Mailer

Your name:

Reply:


Posted by Shelly on 10/25/06 10:49

"Jerry Stuckle" <jstucklex@attglobal.net> wrote in message
news:mMmdnbxEQK61o6LYnZ2dnUVZ_r6dnZ2d@comcast.com...
> Shelly wrote:
>> I am looking for suggestions for the best way to do this. I can hack it
>> out to make it happen, but I thought I would make use of the expertise to
>> do it the best way.
>>
>> I have a form with a drop-down list of users. I want to use a button to
>> send mail to the user that is currently showing in the drop-down list.
>> When this button is pressed, I want the user's default email program to
>> come up with the email address of that person filled in. (the email
>> addresses are in the database and can be retrieved easily).
>>
>
> No you don't. This will expose the user's email address to the world.
> These will quickly be harvested by 'bots and your users' email addresses
> sold to spammers. Don't ever display an email address on a webpage.

I wasn't planning to do that! I only display the username. When the user
(the owner of the site -- not technically saavy) clicks to send an email to
that client, the email address is obtained from the database and stuffed
into the mailer routine.

>
>> I can go to the process of having a separate mail form with a text box
>> and gathering all the info and then using mail() to send it. Or, I can
>> have the button exercise some code that runs separate window and
>> exercises a mailto in the html area with the address filled out and then
>> kills the window, leaving the user's email reader up there.
>>
>> Both seem rather cumbersome. Is there an easier way?
>>
>> Shelly
> Use the form. Your textbox can be on the same page or another one.

Two votes for the form -- you and Rik. I trust you guys so I'll go the form
route. I just thought it would be sexier to have his email program brought
up.

Shelly

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация