stefan göppert
Have the following call from Outlook:
Call ShellExecute(0&, "Open", _
"mailto:" + contactStr + "?cc=" + CC + "?bcc=" + BCC + _
"&Subject=" + Betreff + "&Body=" + Mitteilung, "", "", 1)
with :
CC = "ers...@web.de,zwei...@gmx.de"
BCC = "erst...@web.de,zwei...@gmx.de"
Betreff = "test for Stefan"
...this produces
1. cc: ers...@web.de
2. cc: zweiteCC"@gmx.de?bcc=erst...@web.de
3. cc: zwei...@gmx.de
but with
Call ShellExecute(0&, "Open", _
"mailto:" + contactStr + "?cc=" + CC + "&bcc=" + BCC + _
"&Subject=" + Betreff + "&Body=" + Mitteilung, "", "", 1)
.... note now it's "&bcc=" and not "?bcc="
here all goes right, also the addressing now is BCC and not cc!
Check & try those '&' and '?' characters with your call.
Hope it helps
Guenter
Stefan Göppert
gNeandr schrieb:
deinen String versteh ich nicht so ganz.
Du schreibst: + '?cc=&bcc=' + all +
Ist denn da keine CC Angabe .. dann würde ich den Teil mal weglassen.
Und wie lautet der 'first' String??
Guenter
Am 21.10.2006 22:27 schrieb »Stefan Göppert«
gNeandr schrieb:
sieh dir nochmal deinen & meinen Adr-String an, in meinem werden die
adrsies durch Komma getrennt! Vielleicht ist das das Problem?
Günter
Am 21.10.2006 23:16 schrieb »Stefan Göppert«
Hello Stefan,
as also discussed I assume your string isn't correct!
I tested it with Outlook and found: if the wrong character is inserted
you getting a wrong output in TB.
If I'm using fe. the semicolon between names ... see what happens:
following:
mailto:fir...@abc.xy,seco...@cde.uvw?cc=ers...@web.de,zwei...@gmx.de&bcc=erst...@web.de;zwei...@gmx.de&Subject=email
addressing from Outlook&Body=testmail ... here goes the body
produces:
for To: fir...@abc.xy
seco...@cde.uvw
for CC: ers...@web.de
zwei...@gmx.de
for BCC: ersteBCC"@web.de;zwei...@gmx.de
for Subject: email addressing from Outlook
for body: testmail ... here goes the body
... here the semicolon "produces" a wrong BCC!
With the following string everything is OK!
mailto:fir...@abc.xy,seco...@cde.uvw?cc=ers...@web.de,zwei...@gmx.de&bcc=erst...@web.de,zwei...@gmx.de&Subject=email
addressing from Outlook&Body=testmail ... here goes the body
Notice: ONLY the semicolon changed to a comma !!!
Just try it with a WHOLE string construct!
Viel Glück
Günter
gNeandr schrieb: