dma icon indicating copy to clipboard operation
dma copied to clipboard

Add a way to pass fullname to the From header

Open bigon opened this issue 12 years ago • 4 comments

Hi,

It would be nice if there was a away to add the user fullname to the From header when sending a mail.

Maybe the EMAIL environment variable could be abused and dma could be extended to detect cases like 'name [email protected]'? Or maybe there is a more suitable way?

Cheers

bigon avatar Jul 05 '13 22:07 bigon

How do other MTAs handle this? I think we should align ourselves with them.

On 07/06/2013 12:54 AM, Laurent Bigonville wrote:

Hi,

It would be nice if there was a away to add the user fullname to the From header when sending a mail.

Maybe the EMAIL environment variable could be abused and dma could be extended to detect cases like 'name [email protected] mailto:[email protected]'? Or maybe there is a more suitable way?

Cheers

— Reply to this email directly or view it on GitHub https://github.com/corecode/dma/issues/16.

corecode avatar Jul 06 '13 09:07 corecode

Hi,

Quickly looking at ssmtp code, it seems that it uses gecos information to guess the full name. (I initially thought it was also using EMAIL env parameter).

bigon avatar Jul 06 '13 13:07 bigon

We can use gecos. We should just should make sure that it doesn't result in an invalid address.

On 07/06/2013 03:01 PM, Laurent Bigonville wrote:

Hi,

Quickly looking at ssmtp code, it seems that it uses gecos information to guess the full name. (I initially thought it was also using EMAIL env parameter).

— Reply to this email directly or view it on GitHub https://github.com/corecode/dma/issues/16#issuecomment-20554057.

corecode avatar Jul 06 '13 13:07 corecode