Announcement

Collapse
No announcement yet.

sc_mail_send and variable

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • andreaparisi
    started a topic sc_mail_send and variable

    sc_mail_send and variable

    i use this script but i have problem with variable:

    {start_date}=$startdate;

    {start_time}=$starttime;

    {title}=$title;

    $modtitle=$startdate.$starttime.$title;

    sc_mail_send('***', '***', '***', '***', $email, $modtitle, {note}, 'H', '', 'H', '', '','', );

    script works, but send me only result of $title not $modtitle

  • andreaparisi
    replied
    i try this :
    $startdate= {start_date};

    $starttime= {start_time};

    $title= {title};

    $modtitle= $startdate.'.'.$starttime.'.'.$title;

    but in email i see only $title

    Leave a comment:


  • robydago
    replied
    If the values are in the fields, your first three lines should be:

    $startdate = {start_date};

    $starttime = {start_time};

    $title = {title};

    EDIT-

    If not, and with your originalcode you still get $title populated, double check the code\script\whatever where you are supposed to populate $startdate and $starttime
    Last edited by robydago; 04-07-2015, 12:47 PM.

    Leave a comment:

Working...
X