umbracoSmtpServer Options
martin
Posted: Thursday, August 10, 2006 7:19:21 PM
Rank: Devotee

Joined: 7/24/2006
Posts: 249
on my development server within my network I had this set to our exchange server and it worked but now I am moving this to production server that is in DMZ and I cannot send email, I have tried ip address,also machine name and FQDN and get no notifications.
any ideas?
kalpa
Posted: Thursday, August 10, 2006 7:29:31 PM

Rank: Fanatic

Joined: 7/19/2006
Posts: 492
Location: Göteborg, Sweden
If localhost doesn't work I guess you'll have to ask a network guy for the address to a SMTP relay server...

" - Yeah I'd like to share your point of view, as long as it's my view too... (http://www.d-a-d.dk/lyrics/pointofview)
martin
Posted: Thursday, August 10, 2006 10:12:21 PM
Rank: Devotee

Joined: 7/24/2006
Posts: 249
I have CDONTS working on the same webserver which forwards to our exchange server that allows relay from this one particular IP.
So not sure why this doen't work as well.
I will have a look at the host file and see if that helps.

any other ideas?
martin
Posted: Thursday, August 10, 2006 10:12:40 PM
Rank: Devotee

Joined: 7/24/2006
Posts: 249
I have CDONTS working on the same webserver which forwards to our exchange server that allows relay from this one particular IP.
So not sure why this doen't work as well.
I will have a look at the host file and see if that helps.

any other ideas?
martin
Posted: Friday, August 11, 2006 1:21:01 AM
Rank: Devotee

Joined: 7/24/2006
Posts: 249
I have tried everything I can think of to get this to send notifications to no avail.
Has not anyone setup Umbraco in a DMZ ?
kalpa
Posted: Friday, August 11, 2006 9:24:40 AM

Rank: Fanatic

Joined: 7/19/2006
Posts: 492
Location: Göteborg, Sweden
Hmm, tought one...
Do you have more then one IP on the server...?

..or does your Exchange server have the same IP/URL/Domain from outside the firewalls?...

...Or have you somehow (is it possible?) set up CDONTS to act as a specific user id?

This beats me...

// ;( Kalle

" - Yeah I'd like to share your point of view, as long as it's my view too... (http://www.d-a-d.dk/lyrics/pointofview)
martin
Posted: Saturday, August 12, 2006 8:38:10 AM
Rank: Devotee

Joined: 7/24/2006
Posts: 249
>By Kalle Wibeck at 11-08-2006 09:24 - Reply
>Hmm, tought one...

webserver is in DMZ on Cisco Pix 515 router so it has it's own ip and subnet that is separate from internal network,
ie: 172.18.x.x while the rest of the internal network is 192.168.x.x
The outside interface of the Pix has a static 208.181.x.x, DNS is setup to direct mail and web to that one outside IP and NAT is setup on the Pix to redirect requests on port 80 to the web server while a request to 25 gets directed to the exchange server. But the inside is different,there is no firewall other than the DMZ, all workstations can talk to each other and the exchange box and I can ping ip of exchange from web server.
What confuses me is CDONTS.DLL works just fine from an asp page which uses IIS virtual smtp server as localhost so I tried setting umbracoSmtpServer=127.0.0.1 with no joy

>...Or have you somehow (is it possible?) set up
>CDONTS to act as a specific user id?
There is no config to setup server in asp using CDONTS it relies on IIS virtual smtp being installed. A simple use of CDONTS.DLL would be:

Set MyCDO = Server.CreateObject("CDONTS.NewMail")
if IsObject (MyCDO) Then MyCDO.From = "me@mymail.com"
MyCDO.To = "somebody@somewhere.com"
MyCDO.Subject = "Subject of the message"
MyCDO.Body = "This is a new mail"
MyCDO.Send
Set MyCDO = nothing

The above approach work on the webserver but Umbraco notifications do not.

any way to change Umbraco default mail handler?


Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.