0

Hi.
Im making a web based automatic email generator using php and a form.
I've got all it working, apart from the email addresses.

Its for works intranet and they use outlook 2003 on exchange.

basically..
I have this

echo "<meta http-equiv=\"refresh\" target=\"_NEW\" content=\"0;URL=mailto:smith, james;beckham, david; minouge, danni; cole, cheryl;?subject=blah blah>"

Outlook uses ';' to separate names in the 'To' part of the email.
Problem with this is that PHP uses ';' to end the statement, so it only puts in 'smith, james' in the TO box.

I've tried using.

mailto:smith, james\;beckham, david\;

But that doesn't work at all. Just ends up blank.
I need a way to keep the ';' after the names so outlook reads it properly but to obv have the whole thing execute properly.

Hope it wasn't too confusing, thanks

3
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by hielo
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.