PDA

View Full Version : Email with hyperlinks


Ken
07-26-2005, 09:25 PM
I am tying to craft an email that has hyperlinks in for the engineers to travers over to so they can see there failures. Its something like this. I am using the email feature on VBP.

Dear Sir,
The nightly build failed and you were identified as one engineers who changed this file. The data log can be found at

http:\\MyCompany.com\logfile%LOG_ID%

Where LOG_ID is a macro that contains a string. However, when I attempt to do this, the hyplerlink does not appear to have the correct attributes.


Also, How do I put carrige returns in the mail, I don't seem to be able to do this.

kinook
07-27-2005, 07:45 AM
Attached is a sample Send Mail step to send an HTML formatted message containing a URL. HTML browsers ignore whitespace and newlines in a web page, you have to use HTML formatting such as <p></p> or <br> to insert newlines that will be displayed.

GoldenBoy
12-06-2006, 12:04 AM
Hi,

You haven't answer the question were i need to use
parameter (%some_param%) in a hyper link

I'm using an <a href .. http://www.somelink.com%param% />

with the parameter added all mails sent having a wrong
address without the %param% the link is good

how can i solve this

Edi

kinook
12-06-2006, 01:17 PM
There's nothing special about including a macro's value in the URL; its value will be expanded before being inserted. Please ZIP and send or post:
1) The info from Help | About | Install Info
2) A reproducible test case (.bld file that can be built here and reproduces the problem)
3) A build log file

Thanks.