Dear All Recently I noticed when account is created (D7), Drupal send a welcome mail to user (mode is no_approval_required),
the format of the mail is something like this ..
*user*,
Thank you for registering at* <site>*. You may now log in by clicking this link or copying and pasting it to your browser. Please set your password accordingly. <link>
username: *user*
-- <site> team
This was working fine till recently. Then I have written a custom module to send group mails. It is very simple, reads all mail ids from a table and send mail one by one just making use of PHP's inbuilt mail function.
Then I noticed, all the yellow colored text above goes blank when Drupal sends mail to user.
On further debugging found that, in function *_user_mail_text *(in user module), the variables *site::name* and *user::name* are blank.
Did anybody face this kind of issue anytime? Kindly give me some pointer how to approach to fix this issue.
Thanks Kamal Net Cloud Systems
Did you do an upgrade or a copy from D6 to D7?
The tokens changed, you'll need to modify the mail template to the current format. The format is given on the form edit.
Earnie
On Thu, Jun 27, 2013 at 9:49 AM, Kamal Palei palei.kamal@gmail.com wrote:
Dear All Recently I noticed when account is created (D7), Drupal send a welcome mail to user (mode is no_approval_required),
the format of the mail is something like this ..
user,
Thank you for registering at <site>. You may now log in by clicking this link or copying and pasting it to your browser. Please set your password accordingly.
<link>
username: user
-- <site> team
This was working fine till recently. Then I have written a custom module to send group mails. It is very simple, reads all mail ids from a table and send mail one by one just making use of PHP's inbuilt mail function.
Then I noticed, all the yellow colored text above goes blank when Drupal sends mail to user.
On further debugging found that, in function _user_mail_text (in user module), the variables site::name and user::name are blank.
Did anybody face this kind of issue anytime? Kindly give me some pointer how to approach to fix this issue.
Thanks Kamal Net Cloud Systems
-- [ Drupal support list | http://lists.drupal.org/ ]
Hi Earnie Thanks for reply.
It is a D7 platform from starting.
I have one module, if I uninstall that, then these things works fine.
Not sure, how one module if enabled, causes this problem...
BR, kamal
On Thu, Jun 27, 2013 at 8:50 PM, Earnie Boyd earnie@users.sourceforge.netwrote:
Did you do an upgrade or a copy from D6 to D7?
The tokens changed, you'll need to modify the mail template to the current format. The format is given on the form edit.
Earnie
On Thu, Jun 27, 2013 at 9:49 AM, Kamal Palei palei.kamal@gmail.com wrote:
Dear All Recently I noticed when account is created (D7), Drupal send a welcome
to user (mode is no_approval_required),
the format of the mail is something like this ..
user,
Thank you for registering at <site>. You may now log in by clicking this link or copying and pasting it to your browser. Please set your password accordingly.
<link>
username: user
-- <site> team
This was working fine till recently. Then I have written a custom
module to
send group mails. It is very simple, reads all mail ids from a table and send mail one by one just making use of PHP's inbuilt mail function.
Then I noticed, all the yellow colored text above goes blank when Drupal sends mail to user.
On further debugging found that, in function _user_mail_text (in user module), the variables site::name and user::name are blank.
Did anybody face this kind of issue anytime? Kindly give me some pointer how to approach to fix this issue.
Thanks Kamal Net Cloud Systems
-- [ Drupal support list | http://lists.drupal.org/ ]
-- Earnie
-- https://sites.google.com/site/earnieboyd
[ Drupal support list | http://lists.drupal.org/ ]
You need to raise an issue in the modules issue queue or perhaps one exists already.
Earnie
On Fri, Jun 28, 2013 at 1:01 AM, Kamal Palei palei.kamal@gmail.com wrote:
Hi Earnie Thanks for reply.
It is a D7 platform from starting.
I have one module, if I uninstall that, then these things works fine.
Not sure, how one module if enabled, causes this problem...
BR, kamal
On Thu, Jun 27, 2013 at 8:50 PM, Earnie Boyd earnie@users.sourceforge.net wrote:
Did you do an upgrade or a copy from D6 to D7?
The tokens changed, you'll need to modify the mail template to the current format. The format is given on the form edit.
Earnie
On Thu, Jun 27, 2013 at 9:49 AM, Kamal Palei palei.kamal@gmail.com wrote:
Dear All Recently I noticed when account is created (D7), Drupal send a welcome mail to user (mode is no_approval_required),
the format of the mail is something like this ..
user,
Thank you for registering at <site>. You may now log in by clicking this link or copying and pasting it to your browser. Please set your password accordingly.
<link>
username: user
-- <site> team
This was working fine till recently. Then I have written a custom module to send group mails. It is very simple, reads all mail ids from a table and send mail one by one just making use of PHP's inbuilt mail function.
Then I noticed, all the yellow colored text above goes blank when Drupal sends mail to user.
On further debugging found that, in function _user_mail_text (in user module), the variables site::name and user::name are blank.
Did anybody face this kind of issue anytime? Kindly give me some pointer how to approach to fix this issue.
Thanks Kamal Net Cloud Systems
-- [ Drupal support list | http://lists.drupal.org/ ]
-- Earnie
-- https://sites.google.com/site/earnieboyd
[ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]