Welcome email issue

Status
Not open for further replies.

DrLloyd

Platinum Partner
Advanced Certified
Joined
Mar 23, 2017
Messages
37
Reaction score
10
I saw another thread where someone was having an issue with the welcome email- Mine is slightly different- new install- v 16- using the 3cx smtp- tests OK, but no joy when sending a customized welcome email. When I go look at the logs- I see the following:

2019/10/16 15:29:47.788|2540|0009|Excpt|System.ArgumentOutOfRangeException: Count cannot be less than zero.
Parameter name: count
at System.String.Remove(Int32 startIndex, Int32 count)
at TcxMail.MailTemplateSender.RemoveMarkedBlock(String content, String startMarker, String endMarker)
at _3cxSystemService.ExtSheduller.WelcomeEmailSender.SendWelcome(Extension ext)
at _3cxSystemService.ExtSheduller.WelcomeEmailSender.SendingProc()

What am I seeing?
 
Hi,

Can you confirm first if you use the 3CX default template, does it get delivered as intended?
 
I had not saved the default template, but I copied and pasted from a known good install- and it worked! I guess there was something missing in the HTML? Ok... well, thank you for pointing me in that direction!
 
Yeah, probably something missing and breaks the HTML parsing I would think.
 
You can also retrieve the original from this parameter in the PBX:

MAILTEMPLATE_EXTWELCOME_DEFAULT

Whereas your custom one is stored here:

MAILTEMPLATE_EXTWELCOME_CUSTOM
 
  • Like
Reactions: accentlogic
Status
Not open for further replies.

Forum statistics

Threads
111,934
Messages
589,818
Members
164,811
Latest member
aurorasigntrtechitnet