Hi there - I have a site that sends mail from a script called mail.pl
The following let's a user know that a visitor has posted a message for them at the site.
I want to cleanup the URL so that it says "Click Here" to pick up your message instead of the dreadfully long URL string - take a look and let me know if you have any good ideas - I would also like to embed a gif at the beginning of the mail - (oh yeah what happens if the recipient does not have html mail enabled - is there a way to config that too?)
Here is the portion of the script that I would like to turn into HTML mail:
Any help with this one will be greatly appreciated.
John Kolker
Programmer
jwkolker@comcast.net
The following let's a user know that a visitor has posted a message for them at the site.
I want to cleanup the URL so that it says "Click Here" to pick up your message instead of the dreadfully long URL string - take a look and let me know if you have any good ideas - I would also like to embed a gif at the beginning of the mail - (oh yeah what happens if the recipient does not have html mail enabled - is there a way to config that too?)
Here is the portion of the script that I would like to turn into HTML mail:
Code:
sub message_reply_message {
$subject = "Reply To Your Message";
$message = "You have received a reply from $form_data{'reply_name'} to the message that you sent through the $section_name section of the $classifieds_name. To view your message, please go to the following URL:
$script_url?db=$form_data{'db'}&website=$form_data{'website'}&language=$form_data{'language'}&pickup_inbox_message_button=on&message_number=$userid
Please note that some mail programs may wrap or break this URL, which will cause clicking on it not to work. If your mail program does this, you will need to copy and paste the full URL (possibly from several lines) into your web browser's \"Location\" field in order to see your message. If you are still unable to view your message, then it has been deleted and is no longer available on the server. Please do NOT contact us and ask us to retrieve your message for you under any circumstances, because we will be unable to do so.
This message will expire and be deleted from our server if you do not pick it up within $inbox_data_expiration_days days.
";
}
Any help with this one will be greatly appreciated.
John Kolker
Programmer
jwkolker@comcast.net