BOARDS

planetluc.com discussion board

all about the planetlu.com scripts

You are not logged in.

Announcement

I had to clean the boards due to massive spam. Actually i deleted everything /-one after 1st Oct 2008. It was the only way to get this spam out of the boards. So i'm sorry for all serious users who registered/posted meanwhile.

#1 23-02-2008 03:42:47

jeet123
Member
Registered: 23-02-2008
Posts: 11

how to have Multiple recipients

how to have Multiple recipients in formpro,

I tried  2 emails in config.inc

$fpCfg['targetAddress'] = "info@email1.com,name@email2.com";

but when someone send email, it show that this email has been sent to both email (which i dont want too)

like I dont want info@email1.com to know that same email has been sent to name@email2.com too and same for all recipents

can anyone help me out doing it

- Jeet

Offline

 

#2 24-02-2008 03:27:56

jeet123
Member
Registered: 23-02-2008
Posts: 11

Re: how to have Multiple recipients

nooo one to help out !!!!!

Offline

 

#3 25-02-2008 18:45:30

sidtheduck
Moderator
From: down by the water
Registered: 14-07-2006
Posts: 515
Website

Re: how to have Multiple recipients

jeet123,

You can do this 1 of 2 ways.  You can either send it out with both of them in the BCC list or you can send individual emails out with a "foreach" loop.  However, if you go with the second option, it depends on how many recipients it is going to and how your server is set up that you may get flagged for spamming (judging by sending emails in quick succession).

So . . . which option would you like to do?


If it looks like a duck, and quacks like a duck, we have at least to consider the possibility that we have a small aquatic bird of the family anatidae on our hands.                ~Douglas Adams~

Offline

 

#4 25-02-2008 18:52:40

jeet123
Member
Registered: 23-02-2008
Posts: 11

Re: how to have Multiple recipients

thanks sidtheduck,

I think I better go with BCC (as far recipients cant notice that this email is copied to someone else too)

please provide me instruction to do it....
thanks alot....

Jeet

Offline

 

#5 25-02-2008 18:59:21

sidtheduck
Moderator
From: down by the water
Registered: 14-07-2006
Posts: 515
Website

Re: how to have Multiple recipients

to use BCC instead of both parties in the To: address, open '/forum/formpro.html' and find the code below (line 178 on the default download):

$mail->AddAddress($fpCfg['targetAddress']);

and change it to:

$mail->AddBCC($fpCfg['targetAddress']);

That should do it for you (although I haven't tested it to make sure).

Let me know if that works for you.


If it looks like a duck, and quacks like a duck, we have at least to consider the possibility that we have a small aquatic bird of the family anatidae on our hands.                ~Douglas Adams~

Offline

 

#6 25-02-2008 19:06:56

jeet123
Member
Registered: 23-02-2008
Posts: 11

Re: how to have Multiple recipients

sorry, but before I give it try,

can we do other way.

send one email to email1@email.com
and send BCC to email2@email.com

i just need one blind carbon copy come to my email, so i can keep track of all emails

so recipient see that form was sent to his email, at the same time i can get blind carbon copy of email

Jeet

Offline

 

#7 25-02-2008 19:09:12

sidtheduck
Moderator
From: down by the water
Registered: 14-07-2006
Posts: 515
Website

Re: how to have Multiple recipients

sure, in '/forum/config.inc.html' make a new line under:

$fpCfg['targetAddress'] = "your.client's.email@address.com";
$fpCfg['targetBCC'] = "your.email@address.com";

And then in '/forum/formpro.html' add the BCC line:

$mail->AddAddress($fpCfg['targetAddress']);
$mail->AddBCC($fpCfg['targetBCC']);

Last edited by sidtheduck (25-02-2008 19:09:43)


If it looks like a duck, and quacks like a duck, we have at least to consider the possibility that we have a small aquatic bird of the family anatidae on our hands.                ~Douglas Adams~

Offline

 

#8 25-02-2008 19:17:45

jeet123
Member
Registered: 23-02-2008
Posts: 11

Re: how to have Multiple recipients

thanks, I exactly have done the same thing myself, before reading this message and it work....

I am not good in PHP, but now i feel like i am engineer,,,,  LOLz (joking)

it work, thanks alotsss

Offline

 

#9 25-02-2008 19:20:48

jeet123
Member
Registered: 23-02-2008
Posts: 11

Re: how to have Multiple recipients

thanks it work perfect.....

now wondering if u can help me with auto responder to email..... (i am not engineer) lol

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson

 
 
© 2003-2010 by planetluc.com · Bachtelstrasse 104 · CH-8400 Winterthur | Support | Login |