tags:

views:

29

answers:

1

hi i create a two buttons named as supportweb and email,and under these buttons i write the code as

- (void) supportweb
{
  [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.fitzgerlad.com"]];
}



 - (void) email
{
  [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"[email protected]"]];
}

supportweb is opened normally but email is not opend. what is problem pls help me how can i slove this pls post some code

+1  A: 

The mail url format is mailto:[email protected].

But, consider using MFMailComposeViewController to send email directly in your app.

jtbandes
it cant work, can u pls send link or post some code to open composemail
MaheshBabu
@MaheshBabu: no, you need to post more information about what you're trying. What does "can't work" mean?
jtbandes