Page 1 of 1

How are emails sent (no smtp)

Posted: Sat Nov 18, 2006 7:44 pm
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

Posted: Sun Nov 19, 2006 6:10 pm
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

Posted: Mon Nov 20, 2006 10:40 am
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

Posted: Fri Nov 24, 2006 12:18 am
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.

Posted: Fri Nov 24, 2006 11:21 am
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

Posted: Sun Dec 10, 2006 5:46 pm
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