> ## Documentation Index
> Fetch the complete documentation index at: https://developer.pdf.co/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Set Up SMTP for Email via iCloud Mail

> Learn how to set up SMTP for iCloud Mail, including the host, port, and login details.

Use these settings with PDF.co’s [Send Email API](/api/email/send) to send emails with or without attachments through your iCloud Mail account. You can call the API directly or use PDF.co’s integrations with Zapier and Make. See Reference Material below for integration guides.

## SMTP Server Details

* **SMTP Server/Host:** `smtp.mail.me.com`
* **SMTP Port:** `587`

## Authentication Information

* **SMTP User Name:** Your full iCloud Mail email address (e.g., `yourname@icloud.com`).
* **SMTP Password:** An app-specific password. This is required as iCloud uses two-factor authentication. You must generate this password from your Apple ID account page under the security settings.

## Additional Information

* It is crucial to use an app-specific password instead of your regular iCloud password due to Apple’s security requirements.
* Ensure that SMTP is enabled in your iCloud settings to send mail through other applications.

## Reference Material

* For a step-by-step guide on generating an app-specific password and additional setup details, refer to Apple Support: [Apple Support on Email Setup](https://support.apple.com/en-in/HT202304).
* [Send Email API](/api/email/send)
* [Send Email With Attachment (Zapier)](/integrations/zapier/email-send)
* [Send Email With Attachments (Make)](/integrations/make/send-email-with-attachments)
