Ive got a working webmail and i want to send an embedded image.
LinkedResource imagelink = new LinkedResource(Server.MapPath(".") + @"..\Content\img\GladSmiley.png", "image/png");
when i use the code above it will search for the mappath to the image witch is located in the \projectname\content\img folder. But the mappath method is looking for the img in \projectname\home\content\img so by some reason it adds the home-folder to the mappath :S Is there a way to go around this problem? or am i doing something wrong?