Hi, thanks for the great module. I am having a problem though, if multiple email addresses are entered for delivery, I get an error saying that the first email address is not valid. It works fine with one single email address.
Thanks for helping!
Hi, thanks for the great module. I am having a problem though, if multiple email addresses are entered for delivery, I get an error saying that the first email address is not valid. It works fine with one single email address.
Thanks for helping!
Comments
Comment #1
hadsie commentedare you using the | separator to specify a name as well? like:
Scott Hadfield|hadsie@gmail
or just the email address by itself? also, you may want to give the 2.x branch a try as I think this might be fixed in that (I haven't been able to reproduce the issue at least).
Comment #2
esbon commentedI am only entering a list of email addresses one below the other. You may want to try our site: http://www.capitalcitychurchdc.org
Comment #3
hadsie commentedOk, I'm not able to reproduce this issue on either version 1x or 2x. I would have guessed that more people would have reported this if it was a problem with the module. I went to your site but couldn't see anywhere to test the node invite. Maybe can you paste the exact text that you entered in the email address textarea. Also, do you get any errors in your mail logs?
Comment #4
esbon commentedThanks for looking into this. If I enter one email address only, the email gets delivered fine, but if I entered two or more, a message appears saying that the first email address is not formatted correctly. Here's the full link to a page a node invite enabled page: http://www.capitalcitychurchdc.org/you-will-love-church
Best Regards
Comment #5
hadsie commentedOk, I'm able to reproduce the issue on your site.
Can you:
Comment #6
esbon commentedThanks for looking into this:
name = "Node Invite"
description = "Provides an invite/acceptance framework like RSVP, but with some added features"
core = 6.x
dependencies[] = token
; Information added by drupal.org packaging script on 2009-01-29
version = "6.x-1.0-beta6"
core = "6.x"
project = "node_invite"
datestamp = "1233258348"
; Information added by drupal.org packaging script on 2009-07-16
version = "6.x-1.0-beta8"
core = "6.x"
project = "node_invite"
datestamp = "1247778398"
PHP Version 5.2.9
At this point there are no modifications to the currently installed module
Best Regards
Comment #7
hadsie commentedok, so you're only on beta8, not beta11 as specified in the ticket. Please update to the either the beta12 or the 2.x branch and this problem should go away.
Cheers,
Scott
Comment #8
esbon commentedbeautiful, it now works, however, I forgot how to remove the token help link
Comment #9
hadsie commentedi think i should add an option to hide that or replace it with something. the only way i know is to set the #access on that form field to FALSE. but that would require a hook_form_alter i think.
Comment #10
esbon commentedI know why we could not send more than one email at a time. Turns out we were removing the $form['node_invite_tokens'] form element and that's when we started having the problems. There needs to be a way to hide or remove that link
Thanks again for the great module
Comment #11
hadsie commentedI think I'm going to leave this as is. I'd suggest using a form_alter or overriding the form template and setting:
That will hide the token field.
(Note that this applies to the 2.x branch, for older versions it might just be
$form['node_invite_tokens']['#access'] = FALSE;)Comment #12
esbon commentedThanks, where do I put this code please?
Comment #13
hadsie commentedyou can put it in a hook_form_alter function in a custom module or a tpl.php file that overrides the node_invite_send form.
Comment #15
davidshaw commentedI have beta12 working successfully on one install but not on another. I kept receiving the same error that the first 'email address is not valid'. I too tried to hide the token help so maybe that is how things broke, but i tried putting it back and still no joy. I checked permissions and for other modules that might conflict... but no joy after hours. After upgrading to the 2.x branch i can now send to multiple recipients again. :)
Dave Shaw
Comment #16
hadsie commentedThanks Dave,
Yeah I need to make a proper release from the 2.x branch. I believe it's quite stable now.