Welcome Guest, Not a member yet? Register   Sign In
Email Class - Not able to set Return-Path header
#9

[eluser]sophistry[/eluser]
[quote author="roguemonk" date="1249984805"]In a real application, I would keep a variable, but make it point to _headers['Return-Path']. No angle brackets here.[/quote]

hi roguemonk,

thanks for sussing that. even with the -f switch, some sendmail servers will still be configured to set their own Return-Path.

just a note about the suggestion to modify the code and use the _headers['Return-Path'] Email class property... as the title of this thread indicates, that header is set to the same value as the From: header.

BTW, on careful reflection, i think separating From and Return-Path is a feature rather than a bug. i know i suggested reporting it as a bug! But, it really is an <em>upgrade</em> to the Email class that would make it more flexible rather than a bug that makes it unusable.

cheers.

phew, 1000 posts!


Messages In This Thread
Email Class - Not able to set Return-Path header - by El Forum - 07-08-2009, 01:04 AM
Email Class - Not able to set Return-Path header - by El Forum - 07-08-2009, 01:22 AM
Email Class - Not able to set Return-Path header - by El Forum - 07-09-2009, 07:57 AM
Email Class - Not able to set Return-Path header - by El Forum - 07-09-2009, 03:37 PM
Email Class - Not able to set Return-Path header - by El Forum - 07-09-2009, 08:04 PM
Email Class - Not able to set Return-Path header - by El Forum - 08-10-2009, 09:52 PM
Email Class - Not able to set Return-Path header - by El Forum - 08-10-2009, 10:21 PM
Email Class - Not able to set Return-Path header - by El Forum - 08-10-2009, 11:00 PM
Email Class - Not able to set Return-Path header - by El Forum - 08-11-2009, 08:56 AM
Email Class - Not able to set Return-Path header - by El Forum - 09-10-2009, 03:21 PM



Theme © iAndrew 2016 - Forum software by © MyBB