Hi admin,
I already posted a question in the How To forum. In the mean time I could find some time to find out what is happening.
When any of the CC, BCC, ReplyTo Email and ReplyTo Name are empty
no email message will be dispatched. In debugging I noticed that the fields concerned will pass the value "Array" to the mosMail macro instead of the value Null. As a result the macro fails to execute. As a work around I entered a couple of lines of code in Chronocontact after line 440:
if (trim($ccemails[0]) == '') {
$ccemails = NULL;
}
I did this for each of the fields and things are working much better now. May be there are much better fixes but my knowledge op php is at the novice-level.
Best regards,
Bert<br><br>Post edited by: bertroode, at: 2007/09/18 16:02
I already posted a question in the How To forum. In the mean time I could find some time to find out what is happening.
When any of the CC, BCC, ReplyTo Email and ReplyTo Name are empty
no email message will be dispatched. In debugging I noticed that the fields concerned will pass the value "Array" to the mosMail macro instead of the value Null. As a result the macro fails to execute. As a work around I entered a couple of lines of code in Chronocontact after line 440:
if (trim($ccemails[0]) == '') {
$ccemails = NULL;
}
I did this for each of the fields and things are working much better now. May be there are much better fixes but my knowledge op php is at the novice-level.
Best regards,
Bert<br><br>Post edited by: bertroode, at: 2007/09/18 16:02