My first post on the forum, I'm trying to create a mailto: that goes through to email addresses from a data extension.
I've tried - href="mailto:%%=v(@consultantemailaddress)=%%"
- but this unsurprisingly doesn't work.
I've tried concat also - %%=RedirectTo(Concat(mailto:%%v=(@consultantemailaddress)=%%))=%%
- again no luck and shows this error at the back end:
ExactTarget.OMM.InvalidFunctionException: The function call uses an unrecognized function name.
"Function Name: mailto:%%=v Function Call: mailto:%%=v(@consultantemailaddress) Error Code: OMM_FUNC_INVALID - from OMMCommon"
So after speaking to support I tried printing mailto as a variable but again no luck,
%%[
VAR @Cemailaddress, @mailto
SET @consultantemailaddress = Lookup("DE_CDetails", "CEmailAddress", "CID", @cID)
SET @mailto = "Mailto:"
]%%
<a name="c-repemail" href="%%=RedirectTo(Concat("@mailto","@cemailaddress"))=%%">link</a>
If anyone could point me the right direction with this it would be great, what is the best way to concat variables/links?