Sunday, February 24, 2013
Friday, February 22, 2013
Sending Mail with attachment and Image in body
This is UI part:
and for sending mail and attachment you need to write below code according to your requirement.
and for server.mappath():
and for sending mail and attachment you need to write below code according to your requirement.
and for server.mappath():
http://www.example.com/shop/products/GetProduct.aspx?id=2342
then:- Server.MapPath(".") returns
D:\WebApps\shop\products - Server.MapPath("..") returns
D:\WebApps\shop - Server.MapPath("~") returns
D:\WebApps\shop - Server.MapPath("/") returns
C:\Inetpub\wwwroot - Server.MapPath("/shop") returns
D:\WebApps\shop
Subscribe to:
Posts (Atom)


