On 14 Jul 2011, at 20:56, Mark Goodge wrote:

On 14/07/2011 19:54, simon haywood wrote:

My plan was to have the site email the appropriate MP setting the "from"
and "reply to" headers to be the email address of the user. In fact,
it's been working fine in this way during our test phase - using my own
SMTP server. I want to do it this way, because it means the user gets
the auto-reply, and subsequent response from the MP.

However, it seems tricky to find an SMTP service permitting setting of
the headers in this way.

Really? Any hosting service which runs SMTP on the server will handle this. Is there any particular reason that you need to use an external SMTP server rather than just using, say, PHP's mail() function?

Mark

Well, I thought it rude to assume that the hosting company would also act as an smtp relay. Am I wrong?

Simon

_______________________________________________
developers-public mailing list
[email protected]
https://secure.mysociety.org/admin/lists/mailman/listinfo/developers-public

Unsubscribe: 
https://secure.mysociety.org/admin/lists/mailman/options/developers-public/archive%40mail-archive.com

Reply via email to