• V20: 3CX Re-engineered. Get V20 for increased security, better call management, a new admin console and Windows softphone. Learn More.

CFD "Send Mail" via 3CX doesnt work

Status
Not open for further replies.

Marcel Odermatt

Gold Partner
Advanced Certified
Joined
Mar 1, 2018
Messages
43
Reaction score
6
I tried to create a VoiceAPP with Recording and send mail. I selected the option "use 3CX server connection settings", and on the 3CX is 3CX Mail server selected. But no mails were sent. In the log you find something like "InvalidCredentials"

Code:
18.12.13 10:50:54.910|100050| Trc|75|0003|: PlugIn[AB_vAPP - CallHandler - CallID ESCSOYRRRPGW] Trace: OnDTMFReceived: arg1='1' - arg2='260'
18.12.13 10:50:54.911|100050| Trc|75|0016|: PlugIn[AB_vAPP - Callflow - MainFlow - CallID ESCSOYRRRPGW] Trace: OnDTMFReceived for component 'Record1'
18.12.13 10:50:54.912|100050| Trc|75|0016|: PlugIn[AB_vAPP - RecordComponent 'Record1' - CallID ESCSOYRRRPGW] Trace: Stop digit detected: '1' - stopping recording
18.12.13 10:50:54.913|100050| Trc|75|0016|: PlugIn[AB_vAPP - Callflow - MainFlow - CallID ESCSOYRRRPGW] Trace: Start executing component 'Record1_Conditional'
18.12.13 10:50:54.914|100050| Trc|75|0016|: PlugIn[AB_vAPP - SequenceContainer 'Record1_Conditional_AudioRecorded' - CallID ESCSOYRRRPGW] Trace: Start executing component 'EmailSender2'
18.12.13 10:50:57.386|100031| Err|10|0016|: PlugIn[AB_vAPP - Callflow - MainFlow - CallID ESCSOYRRRPGW] ERROR: Error executing last component: MailKit.Security.AuthenticationException: AuthenticationInvalidCredentials: 5.7.8 Username and Password not accepted. Learn more at
5.7.8  https://support.google.com/mail/?p=BadCredentials t11sm469733eds.34 - gsmtp
   at MailKit.Net.Smtp.SmtpClient.<AuthenticateAsync>d__64.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MailKit.Net.Smtp.SmtpClient.Authenticate(Encoding encoding, ICredentials credentials, CancellationToken cancellationToken)
   at MailKit.MailService.Authenticate(String userName, String password, CancellationToken cancellationToken)
   at AB_vAPP.EMailSenderComponent.executeStart()
   at AB_vAPP.EMailSenderComponent.Start(QMExtendAPI iface, CallQueue callQueue, QueueCall queueCall, ActiveConnection activeConnection, TimerManager timerManager, Dictionary`2 variableMap, TempWavFileManager tempWavFileManager, PromptQueue promptQueue)
   at AB_vAPP.SequenceContainerComponent.Start(QMExtendAPI iface, CallQueue callQueue, QueueCall queueCall, ActiveConnection activeConnection, TimerManager timerManager, Dictionary`2 variableMap, TempWavFileManager tempWavFileManager, PromptQueue promptQueue)
   at AB_vAPP.ConditionalComponent.Start(QMExtendAPI iface, CallQueue callQueue, QueueCall queueCall, ActiveConnection activeConnection, TimerManager timerManager, Dictionary`2 variableMap, TempWavFileManager tempWavFileManager, PromptQueue promptQueue)
   at AB_vAPP.Callflow.ProcessStart()
18.12.13 10:50:57.386|100050| Trc|75|0016|: PlugIn[AB_vAPP - Callflow - ErrorFlow - CallID ESCSOYRRRPGW] Trace: Start executing component 'errorHandlerAutoAddedFinalDisconnectCall'
18.12.13 10:50:57.389|100008| Inf|30|0003|: Call(ESCSOYRRRPGW) has been terminated (reason: Unknown)
18.12.13 10:50:57.399|100050| Trc|75|0003|: PlugIn[AB_vAPP - CallHandler - CallID ESCSOYRRRPGW] Trace: OnInboundCallTerminated: obj='487'
18.12.13 10:50:57.415|100047| Trc|75|0009|: DBG: DB command QMgrPlugIn.QCallTrack+Record is executing
18.12.13 10:50:57.422|100050| Trc|75|0016|: PlugIn[AB_vAPP - Callflow - ErrorFlow - CallID ESCSOYRRRPGW] Trace: OnCallTerminated for component 'errorHandlerAutoAddedFinalDisconnectCall'
18.12.13 10:50:57.452|100034| Trc|75|0011|: Call update(Del): cid=678, dn=800, internal=<empty>, external=202, ac_stat=Connected, leg=4058; att='ESCSOYRRRPGW,'
18.12.13 10:50:57.461|100034| Trc|75|0011|: Call update(Del): cid=678, dn=Ext.202 Marcel, internal=<empty>, external=800, ac_stat=Connected, leg=4057; att=','
18.12.13 10:50:57.477|100047| Trc|75|0003|: DBG: CMNotify(ESCSOYRRRPGW): LegRemoved, legId 4058
18.12.13 10:50:57.478|100047| Trc|75|0003|: DBG: ESCSOYRRRPGW: [4057]
18.12.13 10:50:57.479|100047| Trc|75|0003|: DBG: CMNotify(ESCSOYRRRPGW): LegRemoved, legId 4057
18.12.13 10:50:57.479|100047| Trc|75|0003|: DBG: ESCSOYRRRPGW: []
18.12.13 10:50:57.479|100047| Trc|75|0003|: DBG: CMNotify(ESCSOYRRRPGW): CallTerminated, legId 4057
18.12.13 10:50:57.480|100022| Inf|30|0003|: QCall(ESCSOYRRRPGW) has finished
 
Yes, this is a known issue. CFD apps can't work with the 3CX Mail Server. You need to provide your own set of credentials in this case...
 
Will this issue be repaired in a future update? Or ist the cfd dead an we have to wait till v16 and the new scripts?
 
We can't tell at the moment, please wait a few days for the upcoming news about this. If we continue supporting the CFD in v16, then this will be fixed, otherwise you will need to use the new scripting engine. Please stay tuned to the 3CX blog. We will provide more information shortly.
 
In this case i keep the "record&mail" in a voicemail extension...
 
Status
Not open for further replies.
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.