Author Topic: htmlMimeMail  (Read 652 times)

0 Members and 1 Guest are viewing this topic.

Offline jkkenzieTopic starter

  • Enthusiast
  • Posts: 358
    • View Profile
htmlMimeMail
« on: July 27, 2010, 02:53:55 AM »
Which line of code changes a link from http://mysite.com/pages/home.html   TO page/home.html  from the code below??
Code: [Select]
                  $mail = new htmlMimeMail();
  $mail->setFrom('From: '.SITE_NAME.'<NoReply@'.DOMAIN_NAME.'>');
  $mail->setReturnPath('From: '.SITE_NAME.'<NoReply@'.DOMAIN_NAME.'>');
  $mail->setSubject($htmlMess['Title']);
  $mail->setHTML($htmlMessage, null, MOD_ROOT_DIR);
  $mail->buildMessage();

Thanks in advance

Offline RussellReal

  • Addict
  • Posts: 1,730
  • Gender: Male
    • View Profile
Re: htmlMimeMail
« Reply #1 on: July 27, 2010, 03:00:04 AM »
not sure, but I'll be honest with you, no1 will be able to give you a proper answer the code shown is very vague.. I can only give you an assumption and say that the value you're using to represent your url really isn't the full url and is just a relative path to the file '/page/home.html' not the absolute path which you are expecting
Like my help and want to hire me? Email me or add me to MSN at RussellonMSN@hotmail.com