Can the system send Emails to guests
Posted
#4884
(In Topic #987)
As I understand it if a guest ( ie a non registered user) wants to contact staff there are 2 main methods. A) the feedback system or B) ticket system.
As our site operates on a closed membership policy then
A) feedback would require the contact-us forum to be open to guests to be able to see any replies posted and of course they would also see every other post on that forum which would not be acceptable
B) The ticket add-on allows the privacy of staff to guest but there does not seem to be a method of having the system send the guest a reply , and you have to use your own email client to send the reply.
I'm hoping someone can correct me so that we can have the system send emails to guest users in a private 1 to 1 way ( obviously where they have provided their email !)
Chris
Posted
Just make sure the E-mail optional checkbox isn't ticked. This will force the user to enter their email address.
I haven't used the block, but I imagine it just sends the email directly to the staff address you input into the block. Then to reply, you'd still have to use your own email client though.
Come to think of it – the ticket system does collect email addresses from guests, no? And I believe by replying to a ticket, the system sends an email to the user. But I assume this isn't the case for you?
Posted
Posted
It would be nice to have support for keeping it in-ticket. There's a tracker issue for this:
0002908: Improved guest support tickets - Composr CMS feature tracker
Posted
Joe said
I'd do some more testing for you if I could, but either my mail server is a bit funky or Composr doesn't like my server, because half the time I don't get emails from Composr. I've had to disable post-registration email validations because of this.
From “Post #5227”, 25th Feb 2019
Possibly some kind of spam filter. Check your SPF settings, I can see your domain has an SPF (TXT) record.
Posted
The problem is not so much guest to staff, thats well covered, but its staff being able to reply back to the guest.
it would probably suffice to have a simple form where you can manually specify the From, To, Subject, and Message so at least the reply is being sent by the server from the trusted DKIM domain.
To test it properly, I have installed the Tickets add-in, but when i tested creating a new ticket, i got the following error message
A source code file is missing/corrupt/incompatible: <kbd>hooks/systems/notifications/ticket_assigned_staff... "Declaration of Hook_notification_ticket_assigned_staff::list_members_who_have_enabled() should be compatible with Hook_Notification::list_members_who_have_enabled($notification_code, $category = NULL, $to_member_ids = NULL, $from_member_id = NULL, $start = 0, $max = 300)"</kbd> (<kbd>sources/hooks/systems/notifications/ticket_assigned_staff.php</kbd> or an overridden equivalent to this path) (version: 10.custom, PHP version: 5.6.35, URL: /forum/index.php?page=topics&type=_add_reply&parent_id=20021) @
Code (php)
( Note this is a custom version of Composr )
here's the extract from the file, sources/hooks/systems/notifications/ticket_assigned_staff.php ( and there's no sources_custom entry)
public function list_members_who_have_enabled($notification_code, $category = null, $to_member_ids = null, $start = 0, $max = 300)
{
$members = $this->_all_members_who_have_enabled($notification_code, $category, $to_member_ids, $start, $max, false);
$members = $this->_all_members_who_have_enabled_with_privilege($members, 'support_operator', $notification_code, $category, $to_member_ids, $start, $max);
unset($members[0][get_member()]); // Don't e-mail originator of the notification
return $members;
}
any thoughts
chris
Posted
Posted
As it doesn't offer anything at the moment I'll revert back and remove the tickets add on as I don't want to risk breaking what I have.
Ill wait for the 2908 feature tracker.
Chris
1 guest and 0 members have recently viewed this.
