Hooks for fetching and managing sender profiles in email campaigns, including creating, updating, and deleting profiles.Documentation Index
Fetch the complete documentation index at: https://docs.simpu.co/llms.txt
Use this file to discover all available pages before exploring further.
useGetSenderProfiles
TheuseGetSenderProfiles hook fetches email sender profiles, allowing you to retrieve a list of profiles and their details.
API Reference
Usage
useSenderProfiles
TheuseSenderProfiles hook manages email sender profiles including creation, updates, deletion, and setting default profiles.
Usage
Return Values
onCreateSenderProfile(values: Omit<EmailSenderProfileResponse, "id">)- Creates a new sender profileonUpdateSenderProfile(values: Omit<EmailSenderProfileResponse, "id">)- Updates an existing sender profileonDeleteSenderProfile(id: string)- Deletes a sender profileonSetDefaultSenderProfile(id: string)- Sets a sender profile as default