Forums

no emails sent

bertroode 18 Sep, 2007
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
Max_admin 18 Sep, 2007
Thanks Bert, We can just see if those fields are empty and if so then we don't try to "explode" them into pieces which makes the problem later, I will have the new version posted today!!🙂

Thank you!

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.