recommended.Nsurl *telurl =[nsurl urlwithstring:[nsstring stringwithformat:@ "sms:%@", Self.phoneNumber.text]]; [[UIApplication sharedapplication] openurl:telurl];3. Send maile-mail or the same way to use WebView, with the phone, text messages are the same, to change the URL to "mailto:" The beginning , followed by email address:UIWebView *emailwebview =[[uiwebview alloc] init]; Nsurl *emailurl =[nsurl url
It is a problem to use sendmail In ubuntu. It is left blank when the topic is sent.
Simply install Mutt and msmtp and send an email through the 163 mail system.
Sudo apt-Get install mutt. In addition, you need to install msmtp, a small tool for sending emails, and sudo apt-Get install msmtp.
Configure mutt
1. Add the last five lines to the/etc/muttrc file.
Set Sendmail = "/usr/bin/msmtp"Set use_from = YesSet realname = "mozatmonitor" --- "th
It has become a common sense for SMS talents to use Feixin to send free text messages. However, sending a text message using Apsara requires two people to be friends with Apsara. This brings about two problems:
1. To send a text message to a friend who has not yet added a friend, you must add him as a friend first. This requires confirmation from both parties. H
Jquery analyzes the method of using the url or email address as a real link in the text, jqueryurl
This document describes how to analyze the url or email address in jquery text as a real link. Share it with you for your reference. The details are as follows:
This code can analyze all hyperlinks in the
This article mainly introduces the event application in the jquery text box. Take the input email box as an example. If you need it, you can refer to the event application in the text box below: Enter the email box as an example,
The Code is as follows:
The Code is as follows:
Event application in the jquery
In mobile development we will often need to call phone calls, text messaging and email functions, the following is my summary of the method:1. Call//Method 1 The most commonly used method nsurl *telurl = [Nsurl urlwithstring: "tel://13161906451"]; UIWebView *webview = [[UIWebView alloc] Initwithframe:cgrectzero]; [WebView loadrequest:[nsurlrequest requestwithurl:telurl]];//Method 2 Cons: This method stops a
Call with UIWebView (will come back)This is generally used to solve the problem of not jailbreak.-(void) tel3{ //Hint: Do not add WebView to Self.view if add will obscure the original view //Lazy load if (_webview = = nil) { _webview = [[ UIWebView alloc] init]; } NSLog (@ "%p", _webview); _webview = [[UIWebView alloc] initwithframe:self.view.bounds];// [Self.view Addsubview:_webview]; Nsurl *url = [Nsurl urlwithstring:@ "tel://10010"]; Nsurlrequest *reques
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.