Error creating Email. The remote server returned an error: (403) Forbidden.

Error creating Email. The remote server returned an error: (403) Forbidden.

  
Hello all,

We've configured HTTPS/SLL on our server.

After that we cannot send emails from Outsystems and get error "Error creating Email. The remote server returned an error: (403) Forbidden.".

What additional configurations must be done?
The SMTP server we are using doesn't have to use SSL.
I've created a simple C# console app and I was able to send a test email from the Outsystems server.

Thanks
Did you fill out the Email Configuration page under Administration in Service Center?
Yes,

just smtp server, port, default sender email and name as this is the only information needed.

in the c# console application I was able to send just using these details.
Hi Nelson,

Can you post the stack trace of the error?


Regards,
João Rosado
Error creating Email. The remote server returned an error: (403) Forbidden.
Stack:
   at System.Net.HttpWebRequest.GetResponse()
   at OutSystems.HubEdition.RuntimePlatform.Email.EmailHelper.HttpGetContent(String ssUrl, String method, String contentType, String userAgent, Cookie cookie, QueryParameter[] parameters, String& ssContent, String& ssContentEncoding)
   at OutSystems.HubEdition.RuntimePlatform.Email.EmailHelper.HttpPost(String ssUrl, QueryParameter[] parameters, String userAgent, Cookie cookie, String& ssContent, String& ssContentEncoding)
   at OutSystems.HubEdition.RuntimePlatform.Email.EmailProcessor.SendEmailRequest(String url, String from, String to, String cc, String bcc, Int32 activityId, Int32 tenantId, Boolean storeContent, EmailType type) On 
   at OutSystems.HubEdition.RuntimePlatform.Email.EmailProcessor.SendEmailRequest(String url, String from, String to, String cc, String bcc, Int32 activityId, Int32 tenantId, Boolean storeContent, EmailType type)
   at ssBidding.Flows.FlowMainFlow.WBlk_QuoteRequestWidget.CommandSave(HeContext heContext)
-Env-
eSpaceVer: 64 (Id=95, PubId=92, CompiledWith=8.0.0.15)
RequestUrl: https://localhost/Bidding/QuoteRequest_Edit.aspx (Method: POST)
AppDomain: /LM/W3SVC/1/ROOT/Bidding-103-130669320603148050
FilePath: C:\...\PS\running\Bidding.0515092536\QuoteRequest_Edit.aspx
Locale: en-US
DateFormat: yyyy-MM-dd
PID: 4560 ('w3wp', Started='26-01-2015 15:55:55', Priv=312Mb, Virt=2999Mb)
TID: 170
Thread Name: 
.NET: 2.0.50727.5485

Hi Nelson,

Did you force https on your server at the IIS level?

(by the way this error has nothing to do with the smtp settings, it is failing still at the email rendering phase)

Regards,
João Rosado
Yes, on each espace virtual directory and then set the bidding.
Everything works fine except for the emails.

The platform requires localhost (127.0.0.1) requests to be able to do http requests (without https).
Check here on point 3.3 of the Installation Prerequisites: http://www.outsystems.com/goto/installation-prerequisites

It should break at least emails, timers and BPT processes
Regards
João Rosado