AMPscript Personalization Strings Related to the Recipient

AMPscript includes several strings that you can use to personalize the messages that you send to your subscribers. For a complete list of supported strings, see Personalization Strings in Email Studio.

This table shows some of the most commonly used strings related to the message recipient.

StringDescriptionExample
_carrierIdAn ID associated with the subscriber's mobile carrier. Based on the profile attribute "CarrierID."4
_channelThe messaging channel associated with the contact, as entered in the "Channel" field.Mobile
_cityThe city associated with the contact, as entered in the "City" field.Seattle
_createdByThe entity that created the contact, as entered in the contact "CreatedBy" field.9230589
_createdDateThe date on which the contact was created, contained in the contact CreatedDate field.2023-08-05 13:41:59
_country_codeCountry code associated with the contact, contained in the contact CountryCode field.US
_emailaddrThe subscriber's email address.pooja@example.com
_firstnameThe subscriber's first name, as entered in the profile attribute "Full Name." This string extracts the word before the first space.Pooja
_fullnameThe subscriber's full name, as entered in the profile attribute "Full Name."Pooja Chatterjee
_lastnameThe subscriber's last name, as entered in the profile attribute "Full Name." This string extracts the words after the first space.Chatterjee
_messageTypePreferenceThe subscriber's text or HTML preference.TEXT
_mobileNumberThe contact mobile number, as entered in the "MobileNumber" field.12065550042
_modifiedByThe last user to modify contact information, contained in the contact ModifiedBy field.39958224
_modifiedDateThe last time a process modified the contact information for the subscriber.2023-08-05 11:31:42
_priorityThe priority to use when sending a message to a contact, contained in the contact "Priority" field.1
_sourceThe source of contact information, contained in the contact "Source" field.Mobile Opt-In
_sourceObjectIDThe object ID of the source of contact information, contained in the contact "SourceObjectID" field.4
_stateThe state associated with a contact, contained in the contact "State" field.WA
_statusThe send status associated with a contact, contained in the contact Status field. Possible values:
  • -1: Unspecified
  • 1: Active
  • 2: Bounced
  • 3: Held
  • 4: Unsubscribed
-1
_UTCOffsetThe time offset from UTC associated with a contact, contained in the contact "UTCOffset" field.-8
_zipCodeThe ZIP code associated with a contact, contained in the contact "ZipCode" field.98105