I'm using send_mail in sequence like this:
I realize, that it might be unnecessary to send another mail, but it happens that step 3 does not get executed at all. I have put a debug to both send_mails and while on step 1 log file is created, on step 3 log file is not created (nothing is written in log created on step 1)
Is it a hosting issue, like number of emails per minute or something?
It bothers me, because if there are 2 simultaneous purchases there got to be 2 emails sent. But it might happen that only one would be sent. I'm intrigued!
- Code: Select all
<cms:if k_paypal_success >
1. send_mail to the payer, with bcc to k_email_to
2. create a new page with db_persist in admin panel with data about purchase
3. send_mail to k_email_to with custom notification that purchase has been made
</cms:if>
I realize, that it might be unnecessary to send another mail, but it happens that step 3 does not get executed at all. I have put a debug to both send_mails and while on step 1 log file is created, on step 3 log file is not created (nothing is written in log created on step 1)
Is it a hosting issue, like number of emails per minute or something?
It bothers me, because if there are 2 simultaneous purchases there got to be 2 emails sent. But it might happen that only one would be sent. I'm intrigued!