• Welcome! The TrekBBS is the number one place to chat about Star Trek with like-minded fans.
    If you are not already a member then please register an account and join in the discussion!

Mailto syntax?

Lior .B.

Fleet Captain
Fleet Captain
hi everyone
I'm trying to write a small program in VB.net that use the mailto protocol.

I'm trying to open the default mail client (Outlook)
with the mail to but get a syntax error.

What I would like to to is use the display name as mail to paramater and not the address itself.

one example is to mail to corp a/person a"b (there are " and / in the string) so I trying

dim str1 as string = "a/person a""b"
system.info.start.process("mailto:" & str1)

after that the outlook is open but a popup msgbox says the syntax is incorrect.

Does the protocol does not support / and " characters?
 
This is one where I used an image for the mailto:

<a href="mailto:soandso@yahoo.com">:shifty:<img SRC="/images/ArcadiaLogo.gif" ALT=" E-Mail To: Arcadian Design Bureau" height=65 width=350></a>

Delete the bold section (leave the < right before IMG..) and put whatever text you want where the smiley is. Make it bold, change the font face & size. So it would look like this:

<a href="mailto:soandso@yahoo.com">SAMPLE TEXT<ALT=" E-Mail To: Arcadian Design Bureau" height=65 width=350></a>

Unless Outlook wants different syntax, I've never used it.

Also, at work, Lotus Notes tends not to work correctly with mailto:, so it could be something similar.
 
If you are not already a member then please register an account and join in the discussion!

Sign up / Register


Back
Top