---
title: "Aspose::Email::Clients::Google::IGmailClient::CreateContact method"
url: "https://reference.aspose.com/email/cpp/aspose.email.clients.google/igmailclient/createcontact/"
product: "Aspose.Email for C++"
description: "Creates contact for specified email"
---


## CreateContact (1 of 2) {#createcontact_1}

Creates contact for specified email

**Returns:** Returns contact uri

```cpp
CreateContact(System::SharedPtr < PersonalInfo::Contact > contact)
```

| Parameter | Description |
| --- | --- |
| contact | A contact to create. |

---

## CreateContact (2 of 2) {#createcontact_2}

Creates contact for specified email

**Returns:** Returns contact uri

```cpp
CreateContact(System::SharedPtr < PersonalInfo::Contact > contact, System::String emailAddress)
```

| Parameter | Description |
| --- | --- |
| contact | A contact to create. |
| emailAddress | Email address |

