Cron Job Emails

the mail() function

Moderators: macek, egami, gesf

chub
New php-forum User
New php-forum User
Posts: 1
Joined: Sun Sep 23, 2012 9:11 am

Cron Job Emails

Postby chub » Sun Sep 23, 2012 9:24 am

Hello All,

I have cron jobs running for new projects posted on my site. However, the emails are coming up empty, even when new projects are posted. I have the following code in the cron job emails. Can anyone tell me what this means, which databases (if any), this code is supposed top the content from, and any errors you can spot.

"_sections['ProList']); $this->_sections['ProList']['name'] = 'ProList'; $this->_sections['ProList']['loop'] = is_array($_loop=$this->_tpl_vars['Loop']) ? count($_loop) : max(0, (int)$_loop); unset($_loop); $this->_sections['ProList']['show'] = true; $this->_sections['ProList']['max'] = $this->_sections['ProList']['loop']; $this->_sections['ProList']['step'] = 1; $this->_sections['ProList']['start'] = $this->_sections['ProList']['step'] > 0 ? 0 : $this->_sections['ProList']['loop']-1; if ($this->_sections['ProList']['show']) { $this->_sections['ProList']['total'] = $this->_sections['ProList']['loop']; if ($this->_sections['ProList']['total'] == 0) $this->_sections['ProList']['show'] = false; } else $this->_sections['ProList']['total'] = 0; if ($this->_sections['ProList']['show']): for ($this->_sections['ProList']['index'] = $this->_sections['ProList']['start'], $this->_sections['ProList']['iteration'] = 1; $this->_sections['ProList']['iteration'] <= $this->_sections['ProList']['total']; $this->_sections['ProList']['index'] += $this->_sections['ProList']['step'], $this->_sections['ProList']['iteration']++): $this->_sections['ProList']['rownum'] = $this->_sections['ProList']['iteration']; $this->_sections['ProList']['index_prev'] = $this->_sections['ProList']['index'] - $this->_sections['ProList']['step']; $this->_sections['ProList']['index_next'] = $this->_sections['ProList']['index'] + $this->_sections['ProList']['step']; $this->_sections['ProList']['first'] = ($this->_sections['ProList']['iteration'] == 1); $this->_sections['ProList']['last'] = ($this->_sections['ProList']['iteration'] == $this->_sections['ProList']['total']); ?> _sections['ProList']['index']%2 == 0): ?> _tpl_vars['view_consultation'][$this->_sections['ProList']['index']]['category_image']; ?> _tpl_vars['view_consultation'][$this->_sections['ProList']['index']]['title']; ?>
Budget:
_tpl_vars['view_consultation'][$this->_sections['ProList']['index']]['budget']; ?> _tpl_vars['view_consultation'][$this->_sections['ProList']['index']]['project_link']; ?> _tpl_vars['view_consultation'][$this->_sections['ProList']['index']]['category_image']; ?> _tpl_vars['view_consultation'][$this->_sections['ProList']['index']]['title']; ?>
Budget:
_tpl_vars['view_consultation'][$this->_sections['ProList']['index']]['budget']; ?> _tpl_vars['view_consultation'][$this->_sections['ProList']['index']]['project_link']; ?>"

Thank you in advance.

Ed

Return to “PHP coding => Mail”

Who is online

Users browsing this forum: No registered users and 2 guests

cron