AGENT_CALLBACK_EMAIL

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

AGENT_CALLBACK_EMAIL

Postby dreedy » Tue Nov 21, 2023 11:06 am

Hello I am starting to use this feature on a new build. I have tried to make it a plain text email and html. The formation is not getting correct alignment. And i am wondering if there is a restriction on this feature i am not aware of. this is what i am trying to use.

Code: Select all
; sending email address
email_from => blank@blank.com

; subject of the email
email_subject => Callback for --A--address3--B--

; format as HTML
email_body_html

email_body_begin =>
This is a reminder that you have a scheduled callback right now for the following lead:
<br>
<br>
Business Name: --A--address3--B-- <br>           
Contact: --A--first_name--B-- --A--last_name--B--<br>
Phone: --A--phone_number--B--<br>
Alt. phone: --A--alt_phone--B--<br>
Email: --A--email--B--<br>
Utility: --A--security_phrase--B--<br>
State: --A--State--B--<br>
Campaign of Origin:--A--campaign_id--B--<br>
CB Comments: --A--callback_comments--B--<br>
Lead Comments: --A--comments--B--<br>
Please don't respond to this!


email_body_end



This is what the email looks like once it gets to the inbox.

Code: Select all
This is a reminder that you have a scheduled callback right now for the following lead: <br><br>Business Name:  <br>           Contact: JOHN SMITH<br>Phone: 111111111111<br>Alt. phone: <br>Email: 11111<br>Utility: ***<br>State: **<br>Campaign of Origin:--A--campaign_id--B--<br>CB Comments: This is a reminder the dm was there<br>Lead Comments: <br>Please don't respond to this!

1- mysql/apache Server (ViciBox 11) Dell R640
1- Dialer (Vicibox 11) Dell R620
1- Web (Vicibox 11) Dell R620
1- Archive Server Drobo 810n

Asterisk 16.30.0-vici | VERSION: 2.14-924a | BUILD: 240716-1453 | svn 3856|dbschema 1717
dreedy
 
Posts: 182
Joined: Tue Nov 24, 2015 10:16 pm

Re: AGENT_CALLBACK_EMAIL

Postby dreedy » Wed Nov 22, 2023 11:03 am

This think will not format correctly no matter what i do. I have tried plain context and html. it still comes up like a blob and the code i enter in the body of the message is visible. Is there a bug here? how is this Setting container suppose to be formated?
1- mysql/apache Server (ViciBox 11) Dell R640
1- Dialer (Vicibox 11) Dell R620
1- Web (Vicibox 11) Dell R620
1- Archive Server Drobo 810n

Asterisk 16.30.0-vici | VERSION: 2.14-924a | BUILD: 240716-1453 | svn 3856|dbschema 1717
dreedy
 
Posts: 182
Joined: Tue Nov 24, 2015 10:16 pm

Re: AGENT_CALLBACK_EMAIL

Postby carpenox » Wed Nov 22, 2023 11:28 pm

Hit me up on Skype or Whatsapp and I'll help you fix it
Alma Linux 9.4 | SVN Version: 3889 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2423
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: AGENT_CALLBACK_EMAIL

Postby dreedy » Tue Nov 28, 2023 10:37 am

Thanks. I don't have either of those atm. I will setup one and send you a message.
1- mysql/apache Server (ViciBox 11) Dell R640
1- Dialer (Vicibox 11) Dell R620
1- Web (Vicibox 11) Dell R620
1- Archive Server Drobo 810n

Asterisk 16.30.0-vici | VERSION: 2.14-924a | BUILD: 240716-1453 | svn 3856|dbschema 1717
dreedy
 
Posts: 182
Joined: Tue Nov 24, 2015 10:16 pm

Re: AGENT_CALLBACK_EMAIL

Postby MJCoate » Tue Nov 28, 2023 3:48 pm

That's a problem with your email client not rendering the message correctly.
Mike Coate | VICIdial Technical Support Staff
MJCoate
 
Posts: 82
Joined: Wed Mar 25, 2015 1:57 pm

Re: AGENT_CALLBACK_EMAIL

Postby dreedy » Wed Nov 29, 2023 8:56 am

I highly doubt that as the syntax is being displayed. I must be doing something incorrect. The email clients we are using are roundcube and outlook.
1- mysql/apache Server (ViciBox 11) Dell R640
1- Dialer (Vicibox 11) Dell R620
1- Web (Vicibox 11) Dell R620
1- Archive Server Drobo 810n

Asterisk 16.30.0-vici | VERSION: 2.14-924a | BUILD: 240716-1453 | svn 3856|dbschema 1717
dreedy
 
Posts: 182
Joined: Tue Nov 24, 2015 10:16 pm

Re: AGENT_CALLBACK_EMAIL

Postby MJCoate » Wed Nov 29, 2023 11:59 am

Had to look through the code that handles the callback email alerts for this one. It's nothing on your end, it just doesn't support HTML. It uses the PHP mail() function which I believe defaults the content-type header to plaintext. It would need to be set to "text/html" for clients to render it. You could send us a dev request to add that (support@vicidial.com) or alter the vdc_db_query.php script to look for that setting or force the header. Though, you'll want to back that script up as any upgrades will wipe the change out.
Mike Coate | VICIdial Technical Support Staff
MJCoate
 
Posts: 82
Joined: Wed Mar 25, 2015 1:57 pm

Re: AGENT_CALLBACK_EMAIL

Postby dreedy » Tue Dec 05, 2023 2:11 pm

The writings instruction for this feature have a directed way to tell the email if it is plan text or html. Even if that is not the case plain text syntax is not relaying the end carriage or line return.

https://vicidial.org/docs/DISPO_SEND_EMAIL.txt
1- mysql/apache Server (ViciBox 11) Dell R640
1- Dialer (Vicibox 11) Dell R620
1- Web (Vicibox 11) Dell R620
1- Archive Server Drobo 810n

Asterisk 16.30.0-vici | VERSION: 2.14-924a | BUILD: 240716-1453 | svn 3856|dbschema 1717
dreedy
 
Posts: 182
Joined: Tue Nov 24, 2015 10:16 pm

Re: AGENT_CALLBACK_EMAIL

Postby dreedy » Tue Dec 05, 2023 2:12 pm

Also i am being told that not all callbacks are sending out reminders. Is there a limitation to the feature that prevents it from sending out anything that matches the time?
1- mysql/apache Server (ViciBox 11) Dell R640
1- Dialer (Vicibox 11) Dell R620
1- Web (Vicibox 11) Dell R620
1- Archive Server Drobo 810n

Asterisk 16.30.0-vici | VERSION: 2.14-924a | BUILD: 240716-1453 | svn 3856|dbschema 1717
dreedy
 
Posts: 182
Joined: Tue Nov 24, 2015 10:16 pm

Re: AGENT_CALLBACK_EMAIL

Postby dreedy » Tue Jun 11, 2024 3:36 pm

We now have the callback to email formatting correctly. we are now sending the callback through gmail and this corrected the formatting. We however have discovered anther issue. if a user sets a callback and then is logged of at the time of that callback the notification does not get sent to the users email. is it possible to fix this issue?
1- mysql/apache Server (ViciBox 11) Dell R640
1- Dialer (Vicibox 11) Dell R620
1- Web (Vicibox 11) Dell R620
1- Archive Server Drobo 810n

Asterisk 16.30.0-vici | VERSION: 2.14-924a | BUILD: 240716-1453 | svn 3856|dbschema 1717
dreedy
 
Posts: 182
Joined: Tue Nov 24, 2015 10:16 pm

Re: AGENT_CALLBACK_EMAIL

Postby williamconley » Mon Jun 24, 2024 8:26 pm

At the top of this page is a link for Vicidial Issue Tracker. If you post the precise conditions (in detail) to reproduce your issue including the configuration options used, along with your system specs (full specs, Version and Build ... everything) in a Vicidial Issue Tracker issue and even include a link to this discussion it will likely get fixed eventually. If you're in a hurry, you can contact someone to modify the code (The Vicidial Group, for instance, or us at PoundTeam of course).

This forum is for community advice. The Vicidial Issue Tracker, however, is specifically for bug fixes. 8-)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 103 guests