Succesfull Test connection, Error sending 'real' test mail
Hi,
we're having a problem with the sendout of a newsletter. We're using the datatype Sendout to send newsletter via the Content Section.
When testing the connection in general settings, everything is fine, because the testmail is send and received. When I send a test newsletter via the data type i'm getting an error.
This is all i see when looking at the log.
the server doesn't need a username and password and is an intern ip.
The error message indicates that the page can't be loaded. Do you have a working template defined? Is the page procteded vy roles or something? Using SSL?
What version of Newsletter Studio are you running?
Sounds to me that you have some setting on the web server that prevents the code from making a WebRequest. This is what happens when the send out property "renders" the page.
We made a test template with your code. When we render this template with the url of the newsletter the HTML is shown.
when we try to send it with the data type we still get the same error
2014-10-07 10:16:15,649 [14] INFO umbraco.BusinessLogic.Log - [Thread 19] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Error | User: 0 | NodeId: 0 | Comment: Newsletter Studio error in DownloadWebPage()
Succesfull Test connection, Error sending 'real' test mail
Hi,
we're having a problem with the sendout of a newsletter. We're using the datatype Sendout to send newsletter via the Content Section.
When testing the connection in general settings, everything is fine, because the testmail is send and received. When I send a test newsletter via the data type i'm getting an error.
This is all i see when looking at the log. the server doesn't need a username and password and is an intern ip.
Hi Rick!
The error message indicates that the page can't be loaded. Do you have a working template defined? Is the page procteded vy roles or something? Using SSL?
What version of Newsletter Studio are you running?
// m
Yes, when i'm using the same template locally, i can use sendgrid to send it then. The page isn't protected by anything. I'm using 2.1.0
Sounds to me that you have some setting on the web server that prevents the code from making a WebRequest. This is what happens when the send out property "renders" the page.
/ m
Can you provide us a sample of the Request, so we can simulate locally?
Hi this is the exact code that runs:
We made a test template with your code. When we render this template with the url of the newsletter the HTML is shown. when we try to send it with the data type we still get the same error
Fixed!
we need to login via http://www.....nl/umbraco instead of http://....nl/umbraco
oke via http://www.rumahminimalisterbaik.com/
Hello Markus,
I have the same issue as Rick van der Meij. Can you explain us why is this happening? and also why is this "fixed" accessing via "www...."?
Thanks
Hi!
I don't really understand your question? Are you also behind some kind of security? The url is based on the url that you configure for that node.
is working on a reply...