Code snippet to send email from an iPhone App

Hi,
I have tried to look under the SDK documentation but have not found any pointer. I know how to use Mail.app to send email on a desktop app but how do I do this from iPhone.
Thanks!

Sending email from the iPhone is as simple at setting up the account in Mail on the phone.
Attachments are a different story. The only attachments that can be sent from the iPhone are photos taken with the camera, safari links, notes and you tube links. Each of these attachments are initiated from their parent program (photos, safari, notes, youtube, etc) rather than Mail itself.
What attachment are you trying to send?

Similar Messages

  • Can't send email from my iPhone...

    I am having problems sending email from my iPhone via my ISP and the ISP at work. I can send email through my personal domain from these places using my Mac laptop but not via the iPhone.
    Settings for the ISP should be SSL Off for both directions [incoming/outgoing] Authentication: Password and a strange config. for username:
    username+mydomain.com not just username and with the + symbol and not the @ I have entered the address correctly and I get Cannot Send Mail
    Sending contents of the message to the server failed.
    I have also tried:
    mail.mydomain.com:567 and :2525 and :465 and all return similar errors
    I should mention that I'm able to send mail to the phone and retrieve it successfully but not send from it.
    I've tried changing the Uses SSL for Outgoing and still no love. I have verified with my ISP that everything is correct and yet I am still unable to send email from the iPhone.
    Any suggestions or troubleshooting tips are greatly appreciated. My ISP is Site5 as well.

    Yeah, I read the Apple Tech Doc where it described how to add the port number so I tried 587, 465 and 2525 at the request of my hosting company's Forum userbase. All suggestions were attempted including converting the account on Site5 to IMAP and all tests resulted in no mail being sent and a cryptic error message with no useful details as to why the mail was not able to be delivered [like an error code or something useful]. I too am hoping that Apple says or does something about this in the near future.
    Usernames for my ISP must be formatted like so:
    username+domain.com
    I'm not sure if that's part of the problem but I've been successful at creating accounts for multiple mail clients including GyazMail for Mac, Thunderbird and several other mail clients but for the life of me, I can't get the iPhone to send a single bit of information via SMTP.
    Any assistance or news on this front would be greatly appreciated.
    iPhone, iMac G5, PowerBook G4 Mac OS X (10.4.10)

  • Cannot send email from an iPhone to a Outlook group.

    Hi,
    My question is simple and I'd like an exactly same answer : Can iPhone users send emails from their iPhone's to one or more groups created in Outlook?
    This is my situation: our organization is using iPhone to provide email, calendar, contact, task etc. to some of their employees. We are using Airwatch MDM Agent on user's iPhone because we have an Airwatch server in place. I have an user and she has an iPhone 5 and she has created some groups in Outlook but these groups are not reflected in her Contacts in the iPhone. I have update her phone with the latest update, although I was almost sure that this was not the issue, then I've found some interesting posts on internet saying that this was a known problem for the users with the previous iOS but I thought this might has been corrected with the iOS, apparently not.
    Also I've tried ''the trick'' that is posted on several forums with the iCloud but neither so it's working. I am looking for a straight answer, if this works or not on iPhone's?
    Thanks,
    Sebastian.

    There indeed ARE apps in the app store that will do what you want.  Just search and find the one that best fits your needs.

  • Cannot send email from my iPhone or iPad. The server rejects a recepient for no apparent reason.  The recipient is not new.  This issue happens on reply or reply to all or froward; not a new email. What is happening?

    Cannot send email from my iPhone or iPad. The server rejects a recepient for no apparent reason.  The recipient is not new.  This issue happens on reply or reply to all or froward; not a new email to the same recepient. What is happening?

    I talked with a tech today and he said I cloud is having problems which should be resolved shortly.
    In the mean time I used the .me smtp server settings which allowed me to send mail.

  • Cannot send email from my iphone

    Cannot send email from my iphone 4s with the bell mobility network.

    Hi. You need to double check the outoing server used here. You can verify that with Bell and good luck.

  • I can not send email from my iPhone or iPad its goes out from the iMac ok. I get SMTP is incorrect. any suggestions?

    Having problems sending email from my iphone and ipad. Im getting a SMTP is incorrect error. Has anyone had this problem?
    Spent 3 hours with internet carrier still not resolved. Everything is fine on the imac.

    What is the error message provided if any?
    If the email account is provided by your ISP, does your ISP have an authenticated SMTP server?
    Are you unable to send email with the account using your iPhone or iPad when connected to the same wi-fi network or internet connection as your Mac with your ISP?

  • I cannot send email from my iPhone.

    When I try to send email from my iPhone I get an error message telling me that the email address was rejected by the server. I can receive email with no problem. I must have something wrong in Settings, but all looks OK to me.

    try deleting the account and reinputting it.

  • Can not send email from Mac, iPhone, or iPad using mail using iCloud.

    I can send email from the icloud web page but I get error messages that the icloud outgoing server is not recongized when I send email from my iphone, ipad and Mac mail.  I can receive icloud email okay on all devices.  I have manully setup a icloud server per instructions on icloud support page for mail's outgoing server name.  It still is not recongized.

    I found a work around that works.   Got to Settings...Icloud....account......advanced....outgoing mail server.....
    Add an "other" server.
    Host Name p01-smtp.mail.me.com
    Put in your me.com email address as username and your Apple ID password
    SSL is on
    Authentication is password
    Server port 587
    This worked for me.....I will use this until the bug is fixed.     Don't make this server your primary.   Leave it in "on" status in the other category.
    Good luck

  • Cannot send emails from my Iphone or Ipad

    Hi
    can anybody offer any suggestions please?  Since the switch to BT mail, I have been unable to send emails from my Iphone or Ipad, I get a message saying that my password is not recognised.  I have followed all the instructions on how to reinstall it on my devices including:
    If you're able to receive email but get an error message when trying to send a mail (username and password not recognised) please check the correct settings have been automatically set for the outbound server. To do this:
    Go to Settings
    Tap Mail, Contacts and Calendars
    Tap on your Account - ‘[email protected]
    Again, tap on your account - ‘[email protected]
    Scroll down and tap on SMTP
    Tap on Primary Server
    Check mail server address is set to 'mail.btinternet.com'
    Check Port number is set to '465'
    Check SSL encryption is set to 'ON'
    However, I am still getting nowhere.  Any advice would be great please.

    I have the same problem. Tried calling BT, they were absolutely no help

  • HT4528 I cannot SEND email from my iPhone 5S. I can receive emails, but not send them

    I cannot SEND emails from my iPhone 5S

    It says
    "Unable to send email
    A copy has been placed in your Outbox.
    No Password provided
    Please go to Mail Account Settings and enter a Password"
    The problem is, I do NOT have a password for my outgoing server.

  • TS3899 cannot send email from my iphone

    i was sending email from my iphone earlier, and it worked for awhile, and then just stopped. it told me that i couldnt send messages because my message box was full. i cleared all of my messages, and it still didnt work. i can send email from my account on my computer, just not on the phone. but i can recieve email on the phone. how can i fix this so i can send emails from my phone again?

    Reset your phone - no data loss and try again
    Restart or reset your iPhone, iPad, or iPod touch - Apple Support
    (1009)

  • Unable to receive/send emails from my iPhone when away from home.

    I have been unable w/ in the past week or so to send emails from my iphone once I am away from my house, if I am home there is no problem because it jumps onto my wireless but outside it wont let me I have always been able to until lately.
    What should I check, where should I go, what should I do, who should I call?????

    Allan Sampson wrote:
    How often do you power your iPhone off and on, and when was the last time you did a Reset?
    It is a good idea to power a GSM smart phone off/on on a daily basis - I do so first thing each morning, and I usually do a Reset once a week or so, which seems to help get rid of any cobwebs so to speak.
    Alan:
    A little bit OT, but can you enlighten me what the difference between a cold start (powering off once a day) and a reset is? On a desktop computer, there is no difference, at least in terms of clearing the "cobwebs."
    Thanks,
    -dan

  • TS3899 When sending email from the Mail App or through other Apps, my default From: address will change when I enter a To: address.  This sometimes leads me to send the email from the wrong outgoing email account.  It is frustrating and poor design.

    When sending email from the Mail App or through other Apps on my iPad, my default From: address will change when I enter a To: address.  This sometimes leads me to send the email from the wrong outgoing email account.  It is frustrating and poor design, especially since I had already checked the From: address.
    iPad 4 running iOS 8.1.3

    3rd party email addresses have to be deleted on every synmced mac product, although I have 1and1.co.uk and my imac updatetes the mails in that account from mac mail.
    Yahoo etc is a 2 step deleting process but good to get your emails pushed when on the go.
    LJ
    http://www.facebook.com/The.Cowboy.Party

  • Cannot send email from iPad & iPhone with Virgin Media

    I cannot send emails from my iPad and iPhone. I have a virginmedia.com address and I can receive but just cannot send. A message keeps saying the smpt settings are wrong. However, I have followed the tutorial on Virgin Media web site (this is how I managed to start receiving emails on my devices) but still not sending. I have looked at the settings in my MacBook Pro and all seem to be correct. Does anyone have an idea what could be wrong? I had a similar problem when I loaded Microsoft Office 365 for Mac; I had to end up calling Virgin Media (useless) and then Microsoft (useful). Anyhow I have looked at the settings on the Mac and they all seem to correspond with the ipad and iphone but still cannot send emails. V V Frustrated.
    Thanks for reading.

    Then make sure that the settings are correct in your email account.
    Check the outgoing mail server setting. Make sure that your username and password are in there.
    Settings>Mail, Contacts, Calendars>Your email account>Account>Outgoing mail server - tap the server name next to SMTP and check in the primary server and make sure your username and password are entered and correct - even if it says that the password is optional.

  • TS3899 I cannot send email from my iphone 4s or ipad since updating to IOS7??

    I have not been able to send mail from my Iphone 4s or Ipad since updating to IOS 7 - has anyone else had this problem?

    I just updated to IOS 7.0.4 and I can't get my hotmail to sync up. I know hotmail turned to outlook but this is what i get when i click outlook and enter my information and click enter... "Unable to varify account information"    the password is correct because I made sure at the actual website. my email looks like this  
    [email protected]   .....

Maybe you are looking for

  • Faster Alternatives to Bridge CC

    I only use Bridge as a photo browser--I use Lightroom/Photoshop for any real work. But sometimes I just want to browse a folder and be able to zoom and/or open in Photoshop. So I do use Bridge in this very limited way. But CC is so slow as to be non-

  • ABAP for Super Dumps: Import- & Export-Parameter for a Table in a FM

    Hello ABAP Profs, sorry I am BW. <b>Import- & Export-Parameter for a Table in and out of an Function Modul.</b> I want to import a table into a Function Module, change it and export it again. How do I have to define the Import- and Export- Parameters

  • Plug-in registration under Adobe third-party plug-ins list, how?

    Hello folks, I would like to list my plugin under Adobe third-party plug-ins list. I searched a little online but couldn't find any information on Adobe's website. Does anybody know how to do this registration? Regards. Mor

  • Ale/Idocs ..... what is the role of  message control

    Hi Guy s.. Can Any one.. tell me..  Importance of message  control , Stand alone and  change pointer s in Ale  Idoc''' and where to use...

  • Save to series of file

    Sto utilizzando Write to measurement file e ho scelto l'opzione save to series of file (data + ora). Ciò nonostante, il programma, sviluppato con Labview Basic 2009, salva su un solo file test.lvm. Se fermo l'esecuzione e riapro la finestra delle pro