Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem when using MIME HTML email


jonsa79

Recommended Posts

Posted

Hello!

 

I have a little problem when I use the option "Use MIME HTML When Sending Emails" .

When I send an order update email, the link to account history is not clickable.

I need to use this option because I use a contrib the requires this.

 

What do I have to change so that the link is clickable again?

 

Thanks,

Daniel

Posted
Hello!

 

I have a little problem when I use the option "Use MIME HTML When Sending Emails" .

When I send an order update email, the link to account history is not clickable.

I need to use this option because I use a contrib the requires this.

 

What do I have to change so that the link is clickable again?

 

Thanks,

Daniel

 

I use

				  EMAIL_SEPARATOR . "\n" .
			  EMAIL_TEXT_ORDER_NUMBER . ' ' . $insert_id . "\n" .
			  '<a href="' . tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $insert_id, 'SSL', false) . '">' . EMAIL_TEXT_INVOICE_VIEW . '</a>' . "\n" .
			  EMAIL_TEXT_DATE_ORDERED . ' ' . strftime(DATE_FORMAT_LONG) . "\n\n";

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Posted

Thanks Monika.

 

Another problem:

 

$email = STORE_NAME . "\n" . EMAIL_SEPARATOR . "\n" . EMAIL_TEXT_ORDER_NUMBER . ' ' . $oID . "\n" . EMAIL_TEXT_INVOICE_URL . '<a HREF="' . tep_catalog_href_link(FILENAME_CATALOG_ACCOUNT_HISTORY_INFO, 'order_id=', 'SSL') . '"> ' . tep_catalog_href_link(FILENAME_CATALOG_ACCOUNT_HISTORY_INFO, 'order_id=' . $oID, 'SSL') . "</a><br>" . EMAIL_TEXT_DATE_ORDERED . ' ' . ($check_status['date_purchased']) . "\n\n" . $notify_comments . sprintf(EMAIL_TEXT_STATUS_UPDATE, $orders_status_array[$status]) . "\n\n" . EMAIL_TEXT_SHIP_DATE . $ship_date . "\n\n" . EMAIL_TEXT_TRACKING_NO . '<a HREF="http://server.logistik.posten.se/servlet/PacTrack?lang=SE&xslURL=/xsl/pactrack/pse/godssok.xsl&kolliid=">' . $tracking_no . "</a>\n\n" . EMAIL_TEXT_QUESTIONS;

 

I want to have the $tracking_no to autoinsert in the link, after "...godssok.xsl&kolliid=". So when you click the link it fills in the numbers collected from "$tracking_no" automatically.

 

Is that possible?

 

Thanks,

Daniel

Posted
Thanks Monika.

 

Another problem:

 

$email = STORE_NAME . "\n" . EMAIL_SEPARATOR . "\n" . EMAIL_TEXT_ORDER_NUMBER . ' ' . $oID . "\n" . EMAIL_TEXT_INVOICE_URL . '<a HREF="' . tep_catalog_href_link(FILENAME_CATALOG_ACCOUNT_HISTORY_INFO, 'order_id=', 'SSL') . '"> ' . tep_catalog_href_link(FILENAME_CATALOG_ACCOUNT_HISTORY_INFO, 'order_id=' . $oID, 'SSL') . "</a><br>" . EMAIL_TEXT_DATE_ORDERED . ' ' . ($check_status['date_purchased']) . "\n\n" . $notify_comments . sprintf(EMAIL_TEXT_STATUS_UPDATE, $orders_status_array[$status]) . "\n\n" . EMAIL_TEXT_SHIP_DATE . $ship_date . "\n\n" . EMAIL_TEXT_TRACKING_NO . '<a HREF="http://server.logistik.posten.se/servlet/PacTrack?lang=SE&xslURL=/xsl/pactrack/pse/godssok.xsl&kolliid=">' . $tracking_no . "</a>\n\n" . EMAIL_TEXT_QUESTIONS;

 

I want to have the $tracking_no to autoinsert in the link, after "...godssok.xsl&kolliid=". So when you click the link it fills in the numbers collected from "$tracking_no" automatically.

 

Is that possible?

 

Thanks,

Daniel

 

not sure where the problem is ... just add that to the link!

 

$email = STORE_NAME . "\n" . EMAIL_SEPARATOR . "\n" . EMAIL_TEXT_ORDER_NUMBER . ' ' . $oID . "\n" . EMAIL_TEXT_INVOICE_URL . '<a HREF="' . tep_catalog_href_link(FILENAME_CATALOG_ACCOUNT_HISTORY_INFO, 'order_id=', 'SSL') . '"> ' . tep_catalog_href_link(FILENAME_CATALOG_ACCOUNT_HISTORY_INFO, 'order_id=' . $oID, 'SSL') . "</a><br>" . EMAIL_TEXT_DATE_ORDERED . ' ' . ($check_status['date_purchased']) . "\n\n" . $notify_comments . sprintf(EMAIL_TEXT_STATUS_UPDATE, $orders_status_array[$status]) . "\n\n" . EMAIL_TEXT_SHIP_DATE . $ship_date . "\n\n" . EMAIL_TEXT_TRACKING_NO . '<a HREF="http://server.logistik.posten.se/servlet/PacTrack?lang=SE&xslURL=/xsl/pactrack/pse/godssok.xsl&kolliid=' . $tracking_no . '">' . $tracking_no . "</a>\n\n" . EMAIL_TEXT_QUESTIONS;

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Posted

Hey thanks Monika!! :D

 

The problem was just that! Perfect!

 

Thanks again!

 

Regards,

Daniel

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...