How are emails sent (no smtp)

Discuss here how to configure hoteldruid and better use its features.

Moderator: marco

Post Reply
dazzakiller
Posts: 3
Joined: Sat Nov 18, 2006 7:18 pm

How are emails sent (no smtp)

Post by dazzakiller »

Hi,

I'm just trying out Php-Residence and I must say that I'm impressed. Good work.

I am having a problem though that I can't seem to get to the bottom of.

I'm using a local install of Apache and everything works OK expect when it goes to send mail. I think that it tries to use localhost as the mail server. I was hoping to find somewhere in one of the scripts varibles for smtp settings. What does the scripts use on the Availblity template to send mail?

I will probably be hosting this on an IIS server and wonder weither this will be possible?

Regards and thanks
Darren
dazzakiller
Posts: 3
Joined: Sat Nov 18, 2006 7:18 pm

Post by dazzakiller »

I've uploaded it to my server and all seems to work OK on the email front part from one thing....

When sending contracts via the email option it sends email from:
noreply@periodicnetwork.com
Which is the server address (not even my domain)

It would be great if I could configure it so that it sends emails from a defind email address, such as the admin email. Is this possible???

Thanks
marco
Posts: 1332
Joined: Tue Jul 05, 2005 6:00 pm
Location: Roma, Italia

Post by marco »

Hello Darren,
you should try asking this to your hosting service, php-residence uses the php mail() function. Anyway try first changing the email masquerading option in "configure and customize" and when you create the template, it may solve this problem.

Marco
Problems installing, configuring, upgrading?
Try the easiest way to use HotelDruid:
https://www.digitaldruid.net/hosted/index.php
dazzakiller
Posts: 3
Joined: Sat Nov 18, 2006 7:18 pm

Post by dazzakiller »

Marco, thanks for your reply.

The templates work great, and send emails out address from the email address that I've setup.

The problem is when email a contract out. This is when it comes from noreply@periodicnetwork.com . I've tried changing the Masquerading email setting in the Gerenal Configuration pages but still no luck, is there anywhere else I should be looking.

It seems strange that it works from the templates.

Sorry for not being more detailed before.
marco
Posts: 1332
Joined: Tue Jul 05, 2005 6:00 pm
Location: Roma, Italia

Post by marco »

I don't know what could be the probem, the template and contract emails should work the same way. The email masquerading for contracts is controlled from "configure and customize", but you have already tried that.

Marco
Problems installing, configuring, upgrading?
Try the easiest way to use HotelDruid:
https://www.digitaldruid.net/hosted/index.php
marco
Posts: 1332
Joined: Tue Jul 05, 2005 6:00 pm
Location: Roma, Italia

Post by marco »

I think I've found the bug that caused this problem, you can try to download this file:

http://www.digitaldruid.net/download/vi ... tratto.zip

and replace the one that comes in the php-residence directory (version 0.6.4).

Marco
Problems installing, configuring, upgrading?
Try the easiest way to use HotelDruid:
https://www.digitaldruid.net/hosted/index.php
Post Reply