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- Archive Server Drobo 810n

Asterisk 16.30.0-vici |VERSION: 2.14-900a | BUILD: 231115-1636 | svn 3787 |dbschema 1702
dreedy
 
Posts: 168
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- Archive Server Drobo 810n

Asterisk 16.30.0-vici |VERSION: 2.14-900a | BUILD: 231115-1636 | svn 3787 |dbschema 1702
dreedy
 
Posts: 168
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.3 | SVN Version: 3822 | DB Schema Version: 1711 | Asterisk 18.18.1
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WhatsApp: +19549477572 -:- Skype: live:carpenox_3 | Discord: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2250
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- Archive Server Drobo 810n

Asterisk 16.30.0-vici |VERSION: 2.14-900a | BUILD: 231115-1636 | svn 3787 |dbschema 1702
dreedy
 
Posts: 168
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- Archive Server Drobo 810n

Asterisk 16.30.0-vici |VERSION: 2.14-900a | BUILD: 231115-1636 | svn 3787 |dbschema 1702
dreedy
 
Posts: 168
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- Archive Server Drobo 810n

Asterisk 16.30.0-vici |VERSION: 2.14-900a | BUILD: 231115-1636 | svn 3787 |dbschema 1702
dreedy
 
Posts: 168
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- Archive Server Drobo 810n

Asterisk 16.30.0-vici |VERSION: 2.14-900a | BUILD: 231115-1636 | svn 3787 |dbschema 1702
dreedy
 
Posts: 168
Joined: Tue Nov 24, 2015 10:16 pm


Return to Support

Who is online

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