Hello all,
I need to create a newsletters by URL. I to do next:
- Create a WebClient;
- Use WebClient's method DownloadData to get a source of page in byte array;
- Get string from source-html byte array and set it to the newsletter content.
But I have some troubles with paths. All elements' sources were relative (/img/welcome.png) but I need absolute (http://www.mysite.com/img/welcome.png).
How can I do this?
Best regards, Alex.