1

When a message is send to the user a message like this is shown to him :

message screenshot

enter image description here

SMTP -> FROM SERVER: ...........
SMTP -> FROM SERVER: .......
............................................................................
SMTP -> FROM SERVER: .......
SMTP -> FROM SERVER: ......
SMTP -> FROM SERVER: .....................
SMTP -> FROM SERVER: ................................
SMTP -> FROM SERVER: .....................................
Further instructions have been sent to your e-mail address.

I only want the last one: "Further instructions have been sent ..." to show. Is it also possible to personalize it ?

  • Are you using the SMTP module for mail delivery? – Parag Jul 24 '16 at 18:17
  • yes i'm using the module SMTP Authentication Support and phpmailer – Imanelek Jul 24 '16 at 19:07
  • Did you try disabling the debug messages in the SMTP module settings? – Parag Jul 24 '16 at 20:28
  • prntscr.com/bx0glk i try this but i still got the the same message – Imanelek Jul 24 '16 at 21:32
  • Do you have the devel module enabled? – Parag Jul 24 '16 at 22:11
2

Those messages are shown as the result of enabling logging in the SMTP module. It's only set once from the smtp_debugging variable. If it's still logging after disabling it, you to debug the issue as there's no one cause (e.g. caching, forcing the setting in settings.php/settings.local.php, code base hack, etc.) and is out of scope of Q&A.

As for altering the "Further instructions have..." message, there are many ways to do this (e.g. form alter, translation files), but the simplest is probably utilizing the String Overrides module which will let you override any message wrapped in a t() function.

1

I found an alternative method to solve my prob by using this two modules: Disable Messages Module and String Overrides Module

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.