Page 1 of 1
Delivery Receipts
Posted: Mon Apr 28, 2008 5:17 pm
by gmckay
My customer wants a delivery receipt (not a read receipt).
I am able to code for a read-receipt using;
$message->requestReadReceipt($email);
and I am able to code the return-path;
$message->setReturnPath($email);
but I can find no reference to delivery receipts...
Please advise...
Re: Delivery Receipts
Posted: Mon Apr 28, 2008 5:41 pm
by Chris Corbyn
Re: Delivery Receipts
Posted: Mon Apr 28, 2008 6:33 pm
by gmckay
Does

mean that you need further information, or that you think I'm a nutter.

Re: Delivery Receipts
Posted: Mon Apr 28, 2008 6:34 pm
by John Cartwright
I would guess more information.
Re: Delivery Receipts
Posted: Mon Apr 28, 2008 7:15 pm
by Chris Corbyn
It means I don't know what a "delivery receipt" is if it's not a read-receipt. Far from having the receiver's mail client send an auto-response which I have no control over I've never heard of such a thing.
Did your client give you any more info?
Re: Delivery Receipts
Posted: Mon Apr 28, 2008 7:17 pm
by gmckay
Ummm....
I'll try to be more specific then.
When I send an email using Outlook I can request both a delivery receipt, and a read receipt. How do I do that with Swift Mailer? Read receipts are covered by the documentation and the forums, but delivery receipt examples are not to be found...
Re: Delivery Receipts
Posted: Mon Apr 28, 2008 7:30 pm
by gmckay
http://www.sendmail.org/~ca/email/dsn.html defines a delivery receipt as;
delivery
means that the e-mail has been delivered by an MTA to a recipient's mailbox;
The php mail() function allows this to be coded as "Return-Receipt-To:
aa@aa.com" but the reply-to address ends up being modified by my server, to some default host server mailbox and I don't get the delivery receipt.
If you have Outlook, send a test email with delivery receipt option to yourself, and you can see the required headers if you interrogate the received mail.
Re: Delivery Receipts
Posted: Mon Apr 28, 2008 11:02 pm
by Chris Corbyn
Ah, DSN. Sorry, I understand now. Swift doesn't support this no. It's a planned addition to version 4's enterprise edition but it obviously doesn't work all the time. It will only work on servers offering DSN

Re: Delivery Receipts
Posted: Mon Apr 28, 2008 11:55 pm
by gmckay
Thanks,
I guess I'll have to give up the idea of using Swift-Mailer and revert to finding some php SMTP code to hack for my own purposes.