| Index
» Projekty
» phpMyEdit
» Fórum
» Email options |
 |
gdupuis
Založený: 13.11.2008
Príspevky: 2
Zaslal: 2008-11-13 16:16
Návrat hore
Odpovedať s citátom
|
I am using phpmyedit to connect to a mysql database and create html display pages.
On the list view, I would like users to be able to "click" and send an e-mail BUT, I would like to hide the email address they are sending to; i.e. a blind reply. My current coding (which in my case opens up outlook, and populates the "to" field with the address):
$opts['fdd']['Email'] = array(
'name' => 'Email',
'options' => 'LFCV',
'URL' => 'mailto:$value',
'select' => 'T',
'maxlen' => 50,
'sort' => true
);
I know how to "hide" the address in the display but wjen the link is clicked, the email address appears in the "To" field. Is there a way to send email directly without calling up outlook? Perhaps with STMP?
I am not a programmer so a response with an example would be great.
Thanks,
Greg
|
sba
Založený: 31.07.2008
Príspevky: 12
Zaslal: 2008-11-13 16:50
Návrat hore
Odpovedať s citátom
|
create a link to a php-page (e.g. sendmail.php) ... open it as popup, in an new window or tab or in your main window
examples and informations about sending mails with php:
http://www.php.net/manual/en/function.mail.php
|
gdupuis
Založený: 13.11.2008
Príspevky: 2
Zaslal: 2008-11-13 16:55
Návrat hore
Odpovedať s citátom
|
| sba Napísal: |
create a link to a php-page (e.g. sendmail.php) ... open it as popup, in an new window or tab or in your main window
examples and informations about sending mails with php:
http://www.php.net/manual/en/function.mail.php |
O.k. I think I can create a link to open a new page but how do I "pass" the hidden email address to the new page in oredr to send the email to the right person?
*Application - we are having a network of people post items for sale on one site but want viewers to be able to email the poster while keeping the posters email hidden from the public/other network members.
Thanks,
Greg
|
sba
Založený: 31.07.2008
Príspevky: 12
Zaslal: 2008-11-14 08:20
Návrat hore
Odpovedať s citátom
|
pass only the ID of the Person and in the sending-page query the emailaddress (like "SELECT email from person where PERS-ID = $_GET[ID]")
Stefan
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|
|