Error creating Email. Unable to fetch

Error creating Email. Unable to fetch


I'm having this error every time i try to send an email, i guess something is wrong in my code on the propriety width.
Trying to understand the error, i don't know what is the meaning of "%22%20"  i'm using something like these width='"100%"
What can i do to find the cause of this error ?

Error creating Email. Unable to fetch '' to include in email

Thanks in advance,

Hi António

The string "%22%20" is the URL encoding escape values, equivalent to the double-quote (") and a space ( ) that you're inserting in the URL. More information about the URL encoding escape values can be found at

Meanwhile, you'll need to identify why that URL is generating an error. Being a localhost request, it's quite possible that the request is logged on the IIS web server (I'm assuming you're using the Agile Platform .NET stack) log files.

If using Windows 2003, the logs files should be located (by default) at c:\windows\system32\logfiles\W3svc1.
If using Windows 2008 (Vista or 7), the logs files should be located (by default) at C:\inetpub\logs\LogFiles\W3SVC1.

Eitherway, check the file for the timestamp of when the error occurs, and search for the request with URL "TestingEmail/admin", and that hasn't return a 200 HTTP code.

At first glance, from the error message, I would say that that URL doesn't exist: you're missing the page name and extension. I would expect to have something like instead ...

How are you building the URL?


Miguel Simões João
Hi Miguel,

In the logfile i have this messages

2010-06-17 08:42:19 GET /RichWidgets/web.css 210 80 - OutSystems+Email+Request 200 0 0 38
2010-06-17 08:42:19 GET /TestingEmail/admin/"+width= - 80 - OutSystems+Email+Request 404 0 2 2
2010-06-17 08:42:19 GET /TestingEmail/admin/Email1.aspx In1=9&_From=& 80 - - 200 0 0 1119
2010-06-17 08:42:20 ::1 POST /TestingEmail/admin/WebScreen1.aspx _ts=634123644597117162 80 - ::1 Mozilla/4.0+(compatible;+MSIE+8.0;+Windows+NT+6.1;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+Media+Center+PC+6.0;+.NET4.0C;+.NET4.0E)+chromeframe/5.0.375.62 500 0 0 2010

I'm creating the mail by getting from database the layout (html code) and on the email screen there is an expression that is where the code will be displayed as Escape content: No

This error can be generated due some bad code in html code that i'm getting from database ?

Thanks in advance,

Best Regards,


I am getting a very similar error - but retrieving a .gif image that is imported as part of the espace.  

Error creating Email. Unable to fetch '' to include in email

I can retrieve this URL on the server and when running the App on the server browser (and it is physically there under the running deployment directories) - but I can't when running on a remote client browser.

What determines the server ip that is used?

NB - Using platform.

I've just seen - Fixed error sending emails with images (#164942)  - perhaps this is fixed in

Paul. Hide Message

I'll answer my own query - YES - install platform server and do a full recompile of the solution and it works!