- If you can’t send email on your iPhone, iPad, or iPod touch
- Before you begin
- Check the Outbox for unsent email
- Check your email address and password
- Contact your email provider or system administrator
- Remove your email account and set it up again
- How to Send iPhone Mail From a Different Account
- Choose an outgoing mail account to send an email message
- What to Know
- How to Send Mail From a Different Account in iOS Mail
- How to Use Several Accounts in iOS Mail
- If iCloud Mail isn’t working
- Things to check first
- If you need help sending or receiving mail on your iPhone, iPad, or iPod touch
- If you can’t access iCloud Mail at iCloud.com
- If you can’t send mail from the Mail app on your Mac
- If you receive an alert when you send a message from your @icloud.com email address using Mail on your Mac
- If you’re attaching a large file
- If your recipient doesn’t receive your message
- If you can receive messages but can’t send them
- If you can’t receive mail in the Mail app on your Mac
- If you want to remove a suggested recent contact in iCloud Mail
- If you need help using iCloud for Windows
- Get more help
- How to send mail from iphone app without showing MFMailComposeViewController?
- 2 Answers 2
If you can’t send email on your iPhone, iPad, or iPod touch
If you can’t send email from the Mail app on your iPhone, iPad, or iPod touch, there are a few things you can try.
Before you begin
There are a few things to keep in mind and check:
- When you make an iOS or iPadOS backup in iCloud or iTunes, it backs up your mail settings, but not your email. If you delete or change your email account settings, previously downloaded email might be removed from your device.
- Make sure that your device is connected to the internet.
- Check with your email service provider to find out if there’s a service outage.
- If you can’t access your email, or you can’t send and receive messages with your @icloud.com email address, learn what to do.
Check the Outbox for unsent email
If you get a message that says your email wasn’t sent, then that email goes to your Outbox. Check your Outbox and try to send the email again with these steps:
- In Mail, go to your list of mailboxes.
- Tap Outbox. If you don’t see an Outbox, then your email was sent.
- Tap an email in the Outbox. Make sure that the recipient’s email address is correct.
- Tap Send.
Check your email address and password
If Mail asks you to enter a password for your email account, make sure that your password is correct. To check your email address and password, sign in to your email provider’s website.
If you still get a user name or password error, contact your email provider or system administrator.
Contact your email provider or system administrator
- Contact your email provider or check their status webpage to see if there’s a service outage.
- Ask your email provider or system administrator if you turned on any security features or restrictions, like two-step verification, for your email account. You might need a special password or might need to request authorization from your email provider to send and receive email on your device.
- Check your email account settings with your email provider or system administrator to make sure that they’re correct.
Remove your email account and set it up again
- On your computer, sign in to your email provider’s website. Make sure that all of your email is there or make sure that your email is saved somewhere other than on your iOS or iPadOS device.
- On your device, go to Settings > Mail, then tap Accounts.
- Tap the email account that you want to remove.
- Tap Delete Account.
- Add your account again.
If the steps in this article don’t help, contact your email service provider for more information.
Источник
How to Send iPhone Mail From a Different Account
Choose an outgoing mail account to send an email message
What to Know
- Open a new message or a reply in the iPhone Mail app.
- Tap Cc/Bcc, From in the email header to expand the fields.
- Tap the From field. Choose a different outgoing mail account from the pop-up list.
This article explains how to send iPhone Mail from a different account. It includes information on how to use multiple accounts on the iPhone. These Instructions apply to iOS 14 through iOS 10.
How to Send Mail From a Different Account in iOS Mail
The Mail app in the iPhone iOS sends and receives emails from as many accounts as you have on the phone. After you configure a second (or subsequent) email account, you unlock the functionality to specify the outgoing account for a given message.
To choose the account from which the email or reply you are composing in iPhone Mail will be sent:
Start with a new message or reply in iPhone Mail. There will be a From address displayed.
Tap Cc/Bcc, From to separate the fields.
Tap the From field to select a different From address than the one that is currently displayed.
Tap the address in the pop-up list of mail accounts that you want to use. It appears in the email From field automatically.
Continue to address and compose the message and send it.
How to Use Several Accounts in iOS Mail
When you change the From a line of an outgoing message, you also change the account from which the message is sent. For example, if you set up an iCloud account and a Gmail account on your iPhone, and you switch from one account to the other when you send a message, the outgoing message appears in that account’s Sent Mail folder, and replies are delivered to the inbox of the account that sent it.
In other words, you’re changing the account, not merely the address, that governs that particular message.
Источник
If iCloud Mail isn’t working
You can use iCloud Mail in the Mail app on your iPhone, iPad, iPod touch, or Mac, or on iCloud.com on your iPad, Mac, or PC. If you can’t access your email, or you can’t send and receive messages with your @icloud.com email address, follow these steps.
Things to check first
- Check the system status of iCloud Mail.
- Check that you turned on iCloud Mail:
- On your Mac, open the Mail app then choose Mail >Preferences. Click Accounts, then select your iCloud account in the sidebar. Under Account Information, make sure that the account is turned on and the status is online.
- On your iPhone, iPad, or iPod touch, go to Settings > [your name] > iCloud and check that Mail is turned on.
- Make sure you that haven’t exceeded your iCloud storage limit. If you exceed your iCloud storage limit, learn how to make more space available in iCloud.
- Make sure that you’re using the latest version of software on your device.
If you need help sending or receiving mail on your iPhone, iPad, or iPod touch
- Check your Internet connection. Open apple.com in Safari on your iPhone, iPad, or iPod touch.
- To see if you can receive mail for your iCloud email on another device, go to iCloud.com on a Mac or PC.
- Make sure that you turned on Mail in Settings on your iPhone, iPad, or iPod touch. Tap Settings > [your name] > iCloud and turn on Mail.
- Make sure that new data is pushed to your device automatically. In iOS 14 or later, tap Settings > Mail > Accounts > Fetch New Data, then turn on Push. In iOS 13 or earlier, tap Settings > Passwords & Accounts > Fetch New Data, then turn on Push.
- Send an email to your account to see if Push is working.
- In Fetch New Data, tap your iCloud account and turn on Push. You can only use Push with one account at a time.
- Turn your device off and back on.
- If you still can’t send or receive mail, turn off the settings in steps 3 and 4, restart your device, then turn them back on.
If you can’t access iCloud Mail at iCloud.com
On your iPad, Mac, and PC, you can use iCloud Mail on iCloud.com. On an iPhone, use the Mail app instead.
- Make sure your browser is up to date. If you’re using Safari, update Safari to its latest version.
- Clear your browser’s cache. In Safari, choose Safari > Preferences. Click the Advanced tab. Select «Show Develop menu in menu bar», then close Preferences. Click the Develop menu, then select «Empty Caches.» If you’re using a different browser, check its help menu for steps.
- If you can access iCloud Mail from a different location or Internet connection, contact your Internet service provider (ISP) or network administrator. Some Internet configurations intentionally or unintentionally prevent access to certain websites or services, such as iCloud Mail.
If you can’t send mail from the Mail app on your Mac
Use these steps if your message can’t be delivered, you’re attaching a large file, or the recipient didn’t get your message.
If you receive an alert when you send a message from your @icloud.com email address using Mail on your Mac
If you see an alert that says “This message could not be sent. It will remain in your Outbox until it can be sent.», make sure that iCloud is your Outgoing Mail Account.
- Open Mail and choose Mail > Preferences.
- Click the Accounts tab.
- Select your iCloud email account.
- Click the Server Settings tab. If iCloud isn’t listed as the Outgoing Mail Account, select iCloud.
If you choose Edit SMTP Server List, you won’t see your iCloud account listed as an option.
If you’re attaching a large file
Message attachments can’t exceed the maximum size allowed by your email service provider or the recipient’s email service provider. The maximum size varies by service provider. Try using Mail Drop, compressing the file before sending it, or sending your message without the attachment.
If your recipient doesn’t receive your message
- If an “unknown address” or “undelivered mail returned” message appears in your Inbox after you send a message, go to your Sent mailbox and make sure that the recipient’s email address is correct.
- If you use macOS Mail or access your iCloud Mail using Safari or another supported web browser, check your Drafts, Sent, and Outbox mailboxes:
- If you see an unsent copy of the message in Drafts, try to send it again.
- If you see the message in your Outbox, make sure that you’re connected to the Internet and use the steps above to select iCloud as the outgoing mail account.*
- Ask the recipient to check their Junk mail folders or mailboxes.
- If your recipient still doesn’t receive your message, but your message was sent without any alerts or “undelivered mail” messages, your message might be blocked or filtered by the iCloud Mail servers or the recipient’s mail server. To find out, contact iCloud Support. You should also ask your recipient to contact their email administrator.
* If you use a non-iCloud SMTP server, don’t use your iCloud email address as a «Send From» address. Otherwise, your email might not get delivered or it might get sent to the recipient’s Junk folder.
If you can receive messages but can’t send them
Your ISP might be blocking the protocol used to send email (SMTP) across their network. Contact your service provider and ask about SMTP traffic that crosses their network to an external service, such as iCloud. If your service provider blocks SMTP traffic, ask them how you can be exempted from SMTP blocking.
If your ISP isn’t blocking SMTP traffic and you still can’t send messages, contact Apple Support for help.
If you can’t receive mail in the Mail app on your Mac
- On the left side of the main Mail window, find the name of your iCloud email account. If your account name is dimmed and has a lightning-bolt symbol next to it, your account is offline.
- To take your account online, connect to the Internet.
- Choose Mailbox. If Take All Accounts Online is dimmed, your accounts are already online.
If you still can’t receive email, contact Apple Support to get more help.
If you want to remove a suggested recent contact in iCloud Mail
When you’re signed in to iCloud, you might see your recent email addresses as suggested contacts across your devices. To stop a contact from appearing as a suggestion, here’s what you can do:
- On iCloud.com, click to start an email.
- In the «To:» field, start typing the email address that you want to hide.
- Hover over the address and click .
- Click Remove from Recents.
If you need help using iCloud for Windows
Get more help
If you still need help, contact Apple Support.
Information about products not manufactured by Apple, or independent websites not controlled or tested by Apple, is provided without recommendation or endorsement. Apple assumes no responsibility with regard to the selection, performance, or use of third-party websites or products. Apple makes no representations regarding third-party website accuracy or reliability. Contact the vendor for additional information.
Источник
How to send mail from iphone app without showing MFMailComposeViewController?
I want to send mail from my custom iPhone app. I have used MFMailComposeViewController to send mail from my iphone in my previous app. Now, i don’t want to show the MFMailComposeViewController to the user, if they click Send Mail button the mail automatically send to the recipient mail address . How can i do this? Can you please help me on this? Thanks in advance.
I have used below code to show the MFMailComposeViewController,
2 Answers 2
Sending emails programmatically, without user intervention, from an iphone application, cannot be implemented using any of the Apple frameworks. It could be possible in a jailbroken phone but then it would never see the inside of App Store.
If you want control of email sending, then a better way would be to set up a web service (at your server end) you can post to using an HTTP request. If you are posting to only one address this can work very well, although you may want to get the user to input their return mail address.
Otherwise only the standard dialog is available (this relies on using whatever account they’ve setup on the device).
The iOS SDK has made it really easy to send email using the built-in APIs. With a few line of codes, you can launch the same email interface as the stock Mail app that lets you compose an email. You can pop up mail composer form , write message and can send plain mail or file attached mail using MFMailComposeViewController class. For more info : Sending e-mail from your iOS App
But, in this section what i am going to explain is about sending emails without showing the mail composer sheet ie. sending emails in background. For this feature, we can not use iOS native MFMailComposer class because it does not allow us to send emails in background instead it pop ups the mail composer view from where user have to tap «send» button , so for this section i am going to use SKPSMTPMessage Library to send emails in background, however email account has to be hardcoded on this method.
sender/receiver email address has to be hardcoded or you have to grab it using some pop up form in your app where user inputs sender/receiver email address. In addition, sender account credentials has to be also hardcoded since there is no way we can grab it from device settings.
- Import CFNetwork.framework to your project.
- Include #import «SKPSMTPMessage.h» #import «NSData+Base64Additions.h» // for Base64 encoding
- Include to your ViewController
- Download SKPSMTPMessage library from
https://github.com/jetseven/skpsmtpmessage
Drag and Drop «SMTPLibrary» folder you have downloaded to your project.
Before proceeding, let you know that i am using sender/receiver email address and sender password hardcoded in the code for this example.But, you may grab this credentials from user, allowing them to input in some sort of forms(using UIViews).
Now, handling delegate methods :
Ok, thats all from the coding side. hope this tutorial may find useful for you guyz
Источник