Hello

Inside the SMTP config, when I put my client name inside the "E-mail from name" field, it does not appear when testing the email.

Here is my config :
E-mail from address : no-reply@example.com
E-mail from name : EXAMPLE

I only have "no-reply" who appears. The SMTP module seems to take it from the "E-mail from address" field.

Is there a patch to fix this ?

Thanks !

Comments

skouf created an issue. See original summary.

pranav.aeer’s picture

As per the above scenario, I've tested this & added name as "Example Name" in "E-mail from name" field. Tried sending test email and I got that name as from name. If I keep it blank it shows dafault value which is the actual behaviour. Also I tried keeping "E-mail from name" field empty and only added "E-mail from address" then also it shows default value as from name is test mail, which is again correct behaviour. Anything I am missing in this?

skouf’s picture

Mhhhh.. Maybe it's a problem with office365 ? Maybe the admin has to name this email address by the name of the client and not simply "no-reply"...

I will check that

imclean’s picture

If you're sending through Office365, have a read of this: https://docs.microsoft.com/en-us/exchange/troubleshoot/send-emails/smtp-...

Specifically:

Additionally, messages might arrive at the recipient with a different display name than they did before the change. Messages that are sent by using SMTP Authenticated Submission protocol will now behave in the same way as other submission protocols in Office 365, such as the protocol that is used when emails are sent by using Outlook on the web. As a result, the sender’s Office 365 display name will now be shown as part of the From address.

To change the sender’s display name that message recipients will see, you can change the Display Name setting on the sender’s mailbox to the desired display name.

skouf’s picture

Yes the problem was with office 365.
When using SMTP from office 365, you have to change the name in the admin of office, and not with the smtp module of drupal.

Problem solved !

ankush_03’s picture

@skouf

As per #5 comment, It means your problem has been solved and it's not from module end, kindly change the status to closed.

skouf’s picture

I would love to close this but I really can't find where to do this :(

ankush_03’s picture

Status: Active » Closed (cannot reproduce)

@skouf

I am going to change status.