Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

BCC a Form using the 'post' method

Status
Not open for further replies.

Garabaldi

Technical User
Jan 16, 2002
61
CA
Hi folks,

This may sound simple to you but I've been racking my brain (or lack of same) for the past hour trying to bcc an html form.

this is what i have in my form tag

<form name=&quot;Incident Outage&quot; method=&quot;post&quot; action=&quot;mailto:youremail@whatever.com?Subject=Trying to bcc this stupid form&quot; enctype=&quot;text/plain&quot; onSubmit=&quot;return isMailReady(this);&quot;>

Like this the form gets sent out normally...

But what I need to do is replace the mailto with a bcc... I am currently grabbing the email addresses with some vbscript and there are a lot of address that this form is being sent to... Now I don't neccissarily want the recipients to view everyone else who this form is being sent to... In fact I don't want them to see any email addresses...

My question to you is how to I change the form tag so that it only BCCs???

Thanks...
 
try this syntax...

action=&quot;mailto:jw@jw.co.uk?Subject=Trying to bcc this stupid form&cc=jw@jw.co.uk&bcc=jw@jw.co.uk&quot;

The '?' is used once, then '&' for subsequent parameters.
 
ps...
simply exclude the mailto address for no primary recipient, e.g. &quot;mailto:?subject=....
 
Thanks,

But is there any way to bcc out a form without having the using the mailto???
 
What, you mean you want to send mail out without the user knowing? don't think so.

Julian
 
I've tried leaving the mailto header blank... It ends up generating an error message.

Thank you for the suggestion though.

What I require this form to do is just bcc everyone... Some of the distribution lists this form is getting mailed to has over 50 recipients... and the powers that be do not want the names to show up on the email... they said that it would be annoying for the end user (I HATE THE END USER!!) . Regardless... This is why i am trying to get the form to bcc everyone...

Thanks :)
 
Hi all,

Firstly, this is a long way for a short cut!! LOL

With the syntax that you are trying to use then why not put your own address as the mailto: and the rest as the bcc? That's assuming that the tag will take that mmuch as a bcc!

Secondly, why not go the easier route and use a mailing list script??

is just one of these..

Another way is to use an application to send the mail, I actually found the following yesterday, just get &quot;the powers that be&quot; to pay a small price for the program and then you can totally customise the email for each user.


Hope this helps Wullie

 
&quot;The Power That Be&quot;... Pay for something???!!! Maybe in some parallel Bizarro universe... but not the one I'm stuck in.

As for your other point of placing my name in the mailto header and have everyone else bcc'ed... I actual tried that a little while before I read your replied. The results I got were f---- uhhh I guess funky would be the nicest way to put it and still have it start with an 'f'... When I used the bcc header no one listed as a bcc recipient received it... However, once I switched the bcc to a cc everyone in my test group recieved it.

Can you say WHACKED!!!

I swear... I hate Mondays!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top