What protocol does MFMailComposer use to send mail? - iphone

What protocol apple has used to send mail through MFMailComposer?SMTP or other Protocol?
any help please?

The mail composed using MFMailComposer is sent just as regular e-mail composed in the Mail application. In other words it’s SMTP.

If uses your default mail settings. If you have set your default mail account as Microsoft Exchange, it will use that, and if it is SMTP (with our without SSL), that will be used.
Generally while using MFMailComposer, you don't need to worry about the protocol. If the default mail account is set properly, the mail can be sent.

Related

Deferring Delivery of Emails with Exchange

Is there a way to defer the delivery of emails sent to a Microsoft Exchange server? I would like to be able to send an email using a corporate Exchange server as the SMTP server, and specify the delivery time of the email in a header or otherwise.
A search of the MAPI documentation turned up the PidTagDeferredDeliveryTime MAPI attribute, but I would need to be able to set that attribute for each particular email that I send to the server. Can it be specified in an SMTP header? If not, is there another way to do this?
Deferred delivery won't work if your sending a Message via SMTP, If you use an Exchange API like MAPI or EWS eg https://msdn.microsoft.com/en-us/library/office/jj220496%28v=exchg.80%29.aspx because these use the Exchange Store to submit messages it will read that MAPI property you referred to and delay sending of the messages.
No, there is no way to do that using straight SMTP.

How can I send and receive email for mailgun?

Is there some kind of GUI tool or interface I can use to send and receive email for Mailgun?
https://mailgun.com
Hi, I read whole documentation but don't understand how do I use Mailgun? is there any body who can tell me how can i use mailgun its really important please help me guyz.... –
I think your answer depends on how you want to send and receive email. Mailgun is built for transactional email, so if you're looking to use it for sending and receiving personal email, that might not be the best fit.
If you want to use mailgun as your SMTP relay for sending transactional mail from your site, you might want to try one of these guides from Rackspace, Mailgun's parent company:
https://community.rackspace.com/products/f/28/t/3897
http://www.rackspace.com/knowledge_center/article/introduction-to-mailgun-email-automation
http://www.rackspace.com/knowledge_center/article/configuring-mailgun-for-your-website
The TL;DR is that you need to sign up for a Mailgun account, verify your domain, and configure your application to use Mailgun as the SMTP relay.
Additionally, if you're building an application from scratch, you can incorporate the Mailgun API to send email directly. Instructions are available in the Mailgun Quick Start guide: https://documentation.mailgun.com/quickstart.html
Hope that helps.

sendmail disabled

My host has Sendmail() disabled. I'm basically looking for a way to bypass this. I want visitors to be able to send me (gmail account) an email where they first fill in their e-mail address, so they become the sender. It's for support questions and remarks.
If there is no way to bypass this, is there and alternative, perhaps using mailchimp..?
You can always use an alternative public send mail servers available. You can use one of them. Here is one Public Send Mail server list
use phpmailer library. you can send email via connecting smtp (works with gmail too.) 1st configure one of your accounts with phpmailer. when the user fills in their email set the sender as user's email.
even though you are actually sending the email through your account to receiver of the email will show as sent by user's email address.
http://phpmailer.worxware.com/

Is there a reliable way to send email without having the senders smtp?

My application will be used in a manner that the user is remote from his computer running the application, receiving data via text messages sent periodically from the PC. Im sending the text message via email, using the number#carrierdomain.com. To simplify determining the user's smtp server, I've been sending the message using the destination phone carrier's smtp, instead of the whatever may or may not be available at the PC. This has worked so far with AT&T and T-Mobile, but not Verizon, as they have discontinued their smtp service.
I'm using mailsend v1.15 http://www.muquit.com/muquit/software/mailsend/mailsend.html
but Im open to alternatives.
I do have a less than ideal workaround, which is to use google or hotmail's smtp, but that requires a login/pass.
If I can send the text through regular email, using outlook, it works. I've looked at outlooks smtp logs, but that doesn't really help.
If its not being sent to a Verizon smtp server, how does it get routed, and is it something that my application can use?
Is there a reliable way to send email without having the senders smtp?
Theoretically, any smtp server can send your e-mail. However, due to the overwhelming amount of spaming on the internet, pretty much every isp has locked down their smtp server and will not allow anonymous relaying of e-mail.
If you do have the outlook client on the box you are sending the e-mail you can look at using one of the Outlook APIs:
http://msdn.microsoft.com/en-us/library/gg608200.aspx
to send the e-mail message. You are using the outlook configuration then and don't have to worry about it your code.
As long as an SMTP server is configured to allow relay from a remote domain then you can use it send email from/to virtually any address. There are downsides, however, to using any SMTP server to send an email from a specific domain - the most notable of which is that the recipient's domain will likely flag the message as spam because the domain of the SMTP server is different from that of the sender's email address.
There are other non-email APIs that can be used to send text messages, if that is something you're willing to consider. Check out:
Tropo (http://www.tropo.com)
Zeep Mobile (http://www.zeepmobile.com)
Best of luck to you.
Impossible. SMTP is the Simple Mail Transfer Protocol, without this is impossible to access to another account with Email format. You can make a php mail where you don't need to have smtp, but your access will be limited, not all ESP / ISP will allow you to delivery those emails, because they need to identify you using your SMTP and MX Lookup (Reverse MX A records) from your server. It exists more ways, but are 100% SPAMMERS and HACKERS methods and I don't recommend to use them.

Can I send email programmatically in iPhone app?

I need to be able to send a pre-formatted email or SMS text message programmatically from within an iphone app. Can this be done? I have looked at apple's MFMailComposeViewController class, but this "provides a standard interface that manages the editing and sending an email message" and the MFMessageComposeViewController class also has it's own "standard system interface for composing SMS text messages". These allow you to present an interface to the user where they have to fill in all the data and then explicitly press a send button.
I cannot use this boilerplate functionality.
I need to be able to send a message without presenting any interface to the user. I know this sounds evil, but actually it is for a commercial application which needs to communicate to a user group in a central office when users in the field have performed specific actions out in the field.
Has anyone found a solution to this?
After much investigation, I have found that sending emails programmatically, without user intervention, from an iphone application, cannot be implemented using any of the apple frameworks.
Set up a web service 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).
Here are a few SMTP API's that work on OS X. They might work on iOS as well.
Pantomime
MailCore
EdMessage
Only Possible via Web Interface, you can not hide the Interface , this is as per apple Guidlines to Developer and as per documentation
Looking for a solution to such a problem, I found something interesting here: How to send mail from iphone app without showing MFMailComposeViewController?
I hope this will be useful!
This is standard not possible. If you can't use the standard dialog you need to use SMTP.
SMS is the same, use the dialog of use a webbased sms service (most of these cost some money).
I have no experience with iOS, but I have enough experience with email protocols to say I'd be very surprised if a client application could send email without accessing a server. More than likely, the email will be sent using the SMTP protocol and therefore must be sent using an SMTP server. Choosing how you connect to that server is about the only option you have. You could connect to a server-side script (such as php) to generate and send the email, or you may be able to create a socket and connect directly to port 25 on the SMTP server and still generate the email from you client application.
Check out:
RFC 5321 at https://www.rfc-editor.org/rfc/rfc5321
SMTP on Wikipedia at http://en.wikipedia.org/wiki/Simple_Mail_Transfer_Protocol
You could always do a low level telnet using SMTP protocol to a known mail server to send a message. I don't know if Apple will reject the app, but SMTP is damned simple.