I am new to the salesforce
and creating an VisualForce Email Template
and I have a field which I want to show in VF Email Temlate, but when I am trying to show it
Account object is having the below fields of data type Address (PersonMailingAddress)
I get the following error, please guide:
Error: Unsupported type: common.api.soap.wsdl.Address used in expression: relatedTo.Account.PersonMailingAddress
The Email Template Code that I have written ?
<messaging:emailTemplate subject="My Subject Testing" recipientType="User" relatedToType="Case">
<messaging:htmlEmailBody >
<table border="1px">
<tr>
<td>Full Name</td><td>{!relatedTo.Account.Name}</td><td rowspan="3">Address</td><td rowspan="3">{!relatedTo.Account.PersonMailingAddress}</td>
</tr>
</table>
</messaging:htmlEmailBody>
</messaging:emailTemplate>