My favorites | Sign in
Project Logo
                
Details: Show all Hide all

Older

  • Nov 16, 2009
    GettingStarted (Getting Started) Wiki page commented on by jjaskolka   -   looks like this doesn't work off of wireless. GG
    looks like this doesn't work off of wireless. GG
  • Nov 16, 2009
    GettingStarted (Getting Started) Wiki page commented on by jjaskolka   -   nvm i guess the sockets framework doesn't work for unit testing during build time (although NSURLConnection does wtf?)
    nvm i guess the sockets framework doesn't work for unit testing during build time (although NSURLConnection does wtf?)
  • Nov 16, 2009
    GettingStarted (Getting Started) Wiki page commented on by jjaskolka   -   link's broken and i can't get your code to work
    link's broken and i can't get your code to work
  • Nov 04, 2009
    issue 39 (What to change to attach JPEG file) commented on by francis.tse8   -   Turned out that i do not have the corruption problem if I send the attachment to a different email account - like the TimerWarner Roadrunner account. I do not know what POP server is used for Roadrunner but the file is corrupted when send to a account using Outlook mail server. Any idea why this is the case?
    Turned out that i do not have the corruption problem if I send the attachment to a different email account - like the TimerWarner Roadrunner account. I do not know what POP server is used for Roadrunner but the file is corrupted when send to a account using Outlook mail server. Any idea why this is the case?
  • Oct 21, 2009
    issue 39 (What to change to attach JPEG file) commented on by francis.tse8   -   Somehow, the funny characters after the Delimiter cause the text not to be copied. Here it is again without the funny characters: 2009-10-21 16:36:25.706 SMTPSender[2742:207] C: Content-Type: text/plain Content-Transfer-Encoding: 8bit This is a test message. First time to send jpg file. --SKPSMTPMessage--Separator--Delimiter Content-Disposition: attachment; filename="DataView081109c.jpg" Content-Type: image/jpeg; x-unix-mode=0644; name="DataView081109c.jpg" Content-Transfer-Encoding: base64 /9j/4AAQSkZJRgABAgEASABIAAD/4RXLRXhpZgAATU0AKgAAAAgADQEPAAIAAAAGAAAAqgEQAAIAAAAHAAAAsAESAAMAA AABAAEAAAESAAMAAAABAAEAAAEaAAUAAAABAAAAuAEbAAUAAAABAAAAwAEoAAMAAAABAAIAAAExAAIAAAAQAAAAyA EyAAIAAAAUAAAA2AE8AAIAAAAQAAAA7AITAAMAAAABAAEAAIdpAAQAAAABAAAA/Ig
    Somehow, the funny characters after the Delimiter cause the text not to be copied. Here it is again without the funny characters: 2009-10-21 16:36:25.706 SMTPSender[2742:207] C: Content-Type: text/plain Content-Transfer-Encoding: 8bit This is a test message. First time to send jpg file. --SKPSMTPMessage--Separator--Delimiter Content-Disposition: attachment; filename="DataView081109c.jpg" Content-Type: image/jpeg; x-unix-mode=0644; name="DataView081109c.jpg" Content-Transfer-Encoding: base64 /9j/4AAQSkZJRgABAgEASABIAAD/4RXLRXhpZgAATU0AKgAAAAgADQEPAAIAAAAGAAAAqgEQAAIAAAAHAAAAsAESAAMAA AABAAEAAAESAAMAAAABAAEAAAEaAAUAAAABAAAAuAEbAAUAAAABAAAAwAEoAAMAAAABAAIAAAExAAIAAAAQAAAAyA EyAAIAAAAUAAAA2AE8AAIAAAAQAAAA7AITAAMAAAABAAEAAIdpAAQAAAABAAAA/Ig
  • Oct 21, 2009
    issue 39 (What to change to attach JPEG file) commented on by francis.tse8   -   I did change the Content-Type to "image/jpeg" as well. So far, I have only made changes on the delegate file. Besides the email address I changed, here are the changes I made to the delegate file: NSDictionary *plainPart = [NSDictionary dictionaryWithObjectsAndKeys:@"text/plain",kSKPSMTPPartContentTypeKey, @"This is a test message. First time to send jpg file.",kSKPSMTPPartMessageKey,@"8bit",kSKPSMTPPartContentTransferEncodingKey,nil]; NSString *jpgPath = [[NSBundle mainBundle] pathForResource:@"DataView081109c" ofType:@"jpg"]; NSData *jpgData = [NSData dataWithContentsOfFile:jpgPath]; NSDictionary *jpgPart = [NSDictionary dictionaryWithObjectsAndKeys:@"image/jpeg;\r\n\tx-unix- mode=0644;\r\n\tname=\"DataView081109c.jpg\"",kSKPSMTPPartContentTypeKey, @"attachment;\r\n\tfilename=\"DataView081109c.jpg\"",kSKPSMTPPartContentDispositionKey,[jpgData encodeBase64ForData],kSKPSMTPPartMessageKey,@"base64",kSKPSMTPPartContentTransferEncodingKey,nil]; My changes did appear to do the correct thing to the MIME header. See info captured on the debug console: --SKPSMTPMessage--Separator--Delimiter Ä
    I did change the Content-Type to "image/jpeg" as well. So far, I have only made changes on the delegate file. Besides the email address I changed, here are the changes I made to the delegate file: NSDictionary *plainPart = [NSDictionary dictionaryWithObjectsAndKeys:@"text/plain",kSKPSMTPPartContentTypeKey, @"This is a test message. First time to send jpg file.",kSKPSMTPPartMessageKey,@"8bit",kSKPSMTPPartContentTransferEncodingKey,nil]; NSString *jpgPath = [[NSBundle mainBundle] pathForResource:@"DataView081109c" ofType:@"jpg"]; NSData *jpgData = [NSData dataWithContentsOfFile:jpgPath]; NSDictionary *jpgPart = [NSDictionary dictionaryWithObjectsAndKeys:@"image/jpeg;\r\n\tx-unix- mode=0644;\r\n\tname=\"DataView081109c.jpg\"",kSKPSMTPPartContentTypeKey, @"attachment;\r\n\tfilename=\"DataView081109c.jpg\"",kSKPSMTPPartContentDispositionKey,[jpgData encodeBase64ForData],kSKPSMTPPartMessageKey,@"base64",kSKPSMTPPartContentTransferEncodingKey,nil]; My changes did appear to do the correct thing to the MIME header. See info captured on the debug console: --SKPSMTPMessage--Separator--Delimiter Ä
  • Oct 20, 2009
    issue 39 (What to change to attach JPEG file) reported by francis.tse8   -   I tried attaching a 91KB jpg file and the file appears to be corrupted when received. Can't open with iPhone or Photoshop when email to my Windows account. I took the brute force approach of changing all vcf references to jpg and test.vcf to my own file name in the SMTPSenderAppDelegate.m file. This apparently was not adequate. I saw other people talking about attaching jpg files so this must be possible. Any help is appreciated.
    I tried attaching a 91KB jpg file and the file appears to be corrupted when received. Can't open with iPhone or Photoshop when email to my Windows account. I took the brute force approach of changing all vcf references to jpg and test.vcf to my own file name in the SMTPSenderAppDelegate.m file. This apparently was not adequate. I saw other people talking about attaching jpg files so this must be possible. Any help is appreciated.
  • Sep 22, 2009
    issue 38 (From formating) commented on by jnjhays   -   Disregard this. This was a server issue, not a string format issue.
    Disregard this. This was a server issue, not a string format issue.
  • Sep 17, 2009
    issue 38 (From formating) reported by jnjhays   -   I'm trying to send a message where the from is stated as "My Name<myName@blah.com>" I've tried numerous different formats in the fromEmail property, but using anything other than the typical myName@blah.com value yields an error stating "501 5.1.7 Bad sender address syntax" What is the correct way to set this up? Thanks, James
    I'm trying to send a message where the from is stated as "My Name<myName@blah.com>" I've tried numerous different formats in the fromEmail property, but using anything other than the typical myName@blah.com value yields an error stating "501 5.1.7 Bad sender address syntax" What is the correct way to set this up? Thanks, James
  • Sep 10, 2009
    issue 32 (unable to send a .png file as attachment.) commented on by bullale   -   Try this for inline pictures. NSString *image_path = [[NSBundle mainBundle] pathForResource:@"Icon" ofType:@"png"]; NSData *image_data = [NSData dataWithContentsOfFile:image_path]; NSDictionary *image_part = [NSDictionary dictionaryWithObjectsAndKeys: @"inline;\r\n\tfilename=\"Icon.png\"",kSKPSMTPPartContentDispositionKey, @"base64",kSKPSMTPPartContentTransferEncodingKey, @"image/png;\r\n\tname=Icon.png;\r\n\tx-unix- mode=0666",kSKPSMTPPartContentTypeKey, [image_data encodeWrappedBase64ForData],kSKPSMTPPartMessageKey, nil]; testMsg.parts = [NSArray arrayWithObjects:plainPart,image_part,nil]; [testMsg send];
    Try this for inline pictures. NSString *image_path = [[NSBundle mainBundle] pathForResource:@"Icon" ofType:@"png"]; NSData *image_data = [NSData dataWithContentsOfFile:image_path]; NSDictionary *image_part = [NSDictionary dictionaryWithObjectsAndKeys: @"inline;\r\n\tfilename=\"Icon.png\"",kSKPSMTPPartContentDispositionKey, @"base64",kSKPSMTPPartContentTransferEncodingKey, @"image/png;\r\n\tname=Icon.png;\r\n\tx-unix- mode=0666",kSKPSMTPPartContentTypeKey, [image_data encodeWrappedBase64ForData],kSKPSMTPPartMessageKey, nil]; testMsg.parts = [NSArray arrayWithObjects:plainPart,image_part,nil]; [testMsg send];
  • Sep 10, 2009
    issue 25 (File extension inappropriately renamed to .VCF) commented on by bullale   -   Look in the code for the dictionary of the file attachment part. For the key kSKPSMTPPartContentTypeKey, the first part of the string defines the content-type of the attachment. If you leave this as text/directory, then Macs will think it is a directory-type file because Macs largely ignore the file extension. Change the line to the content-type it is supposed to be. http://en.wikipedia.org/wiki/Internet_media_type#List_of_common_media_types
    Look in the code for the dictionary of the file attachment part. For the key kSKPSMTPPartContentTypeKey, the first part of the string defines the content-type of the attachment. If you leave this as text/directory, then Macs will think it is a directory-type file because Macs largely ignore the file extension. Change the line to the content-type it is supposed to be. http://en.wikipedia.org/wiki/Internet_media_type#List_of_common_media_types
  • Aug 18, 2009
    issue 32 (unable to send a .png file as attachment.) commented on by noam.habot   -   Any luck? If so, please email me at: noam.habot@gmail.com Thanks!
    Any luck? If so, please email me at: noam.habot@gmail.com Thanks!
  • Aug 16, 2009
    issue 32 (unable to send a .png file as attachment.) commented on by ryan.stubblefield   -   So, this works for me (with the image/png change) on the simulator, but it fails on the device. Any suggestions? Has anyone gotten image (or audio, my real need) attachments to work? Thanks Ryan
    So, this works for me (with the image/png change) on the simulator, but it fails on the device. Any suggestions? Has anyone gotten image (or audio, my real need) attachments to work? Thanks Ryan
  • Jul 30, 2009
    issue 37 (Simulator can run,but Device can't run why?) reported by ddxy505   -   This is Device Console Output Fri Jul 31 00:34:59 unknown SpringBoard[27] <Warning>: Setting springboard visible = 1 Fri Jul 31 00:35:00 unknown kernel[0] <Debug>: launchd[1167] Builtin profile: container (seatbelt) Fri Jul 31 00:35:00 unknown kernel[0] <Debug>: launchd[1167] Container: /private/var/mobile/Applications/AA214C2F-D745-475E-85B7-A063323B24E7 (seatbelt) Fri Jul 31 00:35:00 unknown XSS Mail[1167] <Notice>: MS:Notice: Installing: com.yourcompany.XSS_Mail (478.47) Fri Jul 31 00:35:00 unknown XSS Mail[1167] <Notice>: MS:Notice: Loading: /Library/MobileSubstrate/DynamicLibraries/SimulatedKeyEvents.dylib Fri Jul 31 00:35:01 unknown SpringBoard[27] <Warning>: Setting springboard visible = 0 Fri Jul 31 00:35:04 unknown XSS Mail[1167] <Warning>: 1111 Fri Jul 31 00:35:04 unknown XSS Mail[1167] <Warning>: 2222 Fri Jul 31 00:35:04 unknown XSS Mail[1167] <Warning>: C: Attempting to connect to server at: smtp.126.com:25 Fri Jul 31 00:35:04 unknown XSS Mail[1167] <Warning>: 3333 Fri Jul 31 00:35:04 unknown XSS Mail[1167] <Error>: *** +[NSStream getStreamsToHostNamed:port:inputStream:outputStream:]: unrecognized selector sent to class 0x38204780 Fri Jul 31 00:35:08 unknown SpringBoard[27] <Warning>: Setting springboard visible = 1 Fri Jul 31 00:35:09 unknown SpringBoard[27] <Warning>: Lock called Fri Jul 31 00:35:09 unknown SpringBoard[27] <Warning>: Lock called
    This is Device Console Output Fri Jul 31 00:34:59 unknown SpringBoard[27] <Warning>: Setting springboard visible = 1 Fri Jul 31 00:35:00 unknown kernel[0] <Debug>: launchd[1167] Builtin profile: container (seatbelt) Fri Jul 31 00:35:00 unknown kernel[0] <Debug>: launchd[1167] Container: /private/var/mobile/Applications/AA214C2F-D745-475E-85B7-A063323B24E7 (seatbelt) Fri Jul 31 00:35:00 unknown XSS Mail[1167] <Notice>: MS:Notice: Installing: com.yourcompany.XSS_Mail (478.47) Fri Jul 31 00:35:00 unknown XSS Mail[1167] <Notice>: MS:Notice: Loading: /Library/MobileSubstrate/DynamicLibraries/SimulatedKeyEvents.dylib Fri Jul 31 00:35:01 unknown SpringBoard[27] <Warning>: Setting springboard visible = 0 Fri Jul 31 00:35:04 unknown XSS Mail[1167] <Warning>: 1111 Fri Jul 31 00:35:04 unknown XSS Mail[1167] <Warning>: 2222 Fri Jul 31 00:35:04 unknown XSS Mail[1167] <Warning>: C: Attempting to connect to server at: smtp.126.com:25 Fri Jul 31 00:35:04 unknown XSS Mail[1167] <Warning>: 3333 Fri Jul 31 00:35:04 unknown XSS Mail[1167] <Error>: *** +[NSStream getStreamsToHostNamed:port:inputStream:outputStream:]: unrecognized selector sent to class 0x38204780 Fri Jul 31 00:35:08 unknown SpringBoard[27] <Warning>: Setting springboard visible = 1 Fri Jul 31 00:35:09 unknown SpringBoard[27] <Warning>: Lock called Fri Jul 31 00:35:09 unknown SpringBoard[27] <Warning>: Lock called
  • Jul 27, 2009
    issue 18 (Sending to multiple recipients is no supported) commented on by coder4iphone   -   Yes i am also facing this problem. But i can send with gmail but not able with Aol.
    Yes i am also facing this problem. But i can send with gmail but not able with Aol.
  • Jul 15, 2009
    issue 25 (File extension inappropriately renamed to .VCF) commented on by svguerin3   -   Has anyone found a way around this? My app uses this to send PDF files, and it adds the VCF extension only under certain circumstances (one of which is the iPhone's email app, and another being hotmail on a Mac computer). Thoughts? I'm desperate for a solution, as it's upsetting quite a few users. Thanks!!
    Has anyone found a way around this? My app uses this to send PDF files, and it adds the VCF extension only under certain circumstances (one of which is the iPhone's email app, and another being hotmail on a Mac computer). Thoughts? I'm desperate for a solution, as it's upsetting quite a few users. Thanks!!
  • Jul 14, 2009
    issue 24 (LGPL) commented on by averagejake   -   Someone correct me if I'm wrong, but I believe the answer is yes. This project is under MIT license which means you can use it in a commercial project: http://www.opensource.org/licenses/mit-license.php
    Someone correct me if I'm wrong, but I believe the answer is yes. This project is under MIT license which means you can use it in a commercial project: http://www.opensource.org/licenses/mit-license.php
  • Jul 13, 2009
    issue 36 (SMTP Date does not conform to RFC 2822) reported by averagejake   -   Line 764 of SKPSMTPMessage.m sends the date, but the way it's coded now the date gets localized. Technically this does not conform to RFC 2822 and some spam filters will mark this as spam because of it. Attached is a diff that is what we used to fix this.
    Line 764 of SKPSMTPMessage.m sends the date, but the way it's coded now the date gets localized. Technically this does not conform to RFC 2822 and some spam filters will mark this as spam because of it. Attached is a diff that is what we used to fix this.
  • Jul 06, 2009
    issue 29 (Send on some wireless networks fails) commented on by aduongcal   -   I noticed that skpsmtpmessage doesn't work on some wireless networks. I assume this is because of the ISP blocking ports. But what I don't understand is that sending email using the iPhone's built in email app works fine (using GMail), but sending using skpsmtpmessage fails to connect to GMail on the same wireless network. However, connecting to GMail with skpsmtpmessage works fine if you switch to 3G. How does the iPhone mail app successfully send mail to GMail when my app can't?
    I noticed that skpsmtpmessage doesn't work on some wireless networks. I assume this is because of the ISP blocking ports. But what I don't understand is that sending email using the iPhone's built in email app works fine (using GMail), but sending using skpsmtpmessage fails to connect to GMail on the same wireless network. However, connecting to GMail with skpsmtpmessage works fine if you switch to 3G. How does the iPhone mail app successfully send mail to GMail when my app can't?
  • Jun 23, 2009
    issue 26 (SKSMTPMessage.m Works on Simulator but not iPhone) commented on by ramesh.pothuraju   -   hi, if you have the solution for this issue, please share it with me. My mail id : ramesh.pothuraju@gmail.com
    hi, if you have the solution for this issue, please share it with me. My mail id : ramesh.pothuraju@gmail.com
  • Jun 02, 2009
    issue 35 (Last Part of Multipart message missing trailing -- in separa...) reported by newtzie   -   What steps will reproduce the problem? 1. Send an email with a multipart attachment 2. Use google SMTP server to send the email to an address that you will open with outlook. 3. In the outlook client, you end up with an ATTNNNNNN.txt (where N's are numbers). This is because the last part in the email doesn't have the trailing "--" characters that should be in the final part's separator string. We changed the source to use the trailing "--" at the end of the last part and Outlook no longer gets the ATTNNNNN.txt file. We stumbled across the solution to fix ATTNNNNN.txt files here: http://stackoverflow.com/questions/690430/attnnnnn-txt-attachments-when-e-mail-is- received-in-outlook Thanks.
    What steps will reproduce the problem? 1. Send an email with a multipart attachment 2. Use google SMTP server to send the email to an address that you will open with outlook. 3. In the outlook client, you end up with an ATTNNNNNN.txt (where N's are numbers). This is because the last part in the email doesn't have the trailing "--" characters that should be in the final part's separator string. We changed the source to use the trailing "--" at the end of the last part and Outlook no longer gets the ATTNNNNN.txt file. We stumbled across the solution to fix ATTNNNNN.txt files here: http://stackoverflow.com/questions/690430/attnnnnn-txt-attachments-when-e-mail-is- received-in-outlook Thanks.
  • May 25, 2009
    issue 34 (User account settings) reported by captainw...@intergalacticwhizz.com   -   Anybody know how to access the users email info from settings?
    Anybody know how to access the users email info from settings?
  • May 25, 2009
    issue 9 (Sending thru Yahoo dont seem to work) commented on by captainw...@intergalacticwhizz.com   -   Anybody know how to get the users email account details from settings, in order to send the email?
    Anybody know how to get the users email account details from settings, in order to send the email?
  • May 05, 2009
    issue 33 (Image attachments seems to be oriented counterclockwise by 9...) reported by javid.alimohideen   -   What steps will reproduce the problem? 1. Using ImagePickerController, grabbed the image and sent it as attachment 2. Open mail in Gmail, and choose the view option 3. The image is oriented counter clockwise What is the expected output? What do you see instead? Expected would be the image maintains its orientation What version of the product are you using? On what operating system? I am running it on iPhone OS 2.2.1 Please provide any additional information below. This happens with images in the photo library which are in portrait mode only, if i use the camera to capture a image in landscape mode, I don't see this behaviour.
    What steps will reproduce the problem? 1. Using ImagePickerController, grabbed the image and sent it as attachment 2. Open mail in Gmail, and choose the view option 3. The image is oriented counter clockwise What is the expected output? What do you see instead? Expected would be the image maintains its orientation What version of the product are you using? On what operating system? I am running it on iPhone OS 2.2.1 Please provide any additional information below. This happens with images in the photo library which are in portrait mode only, if i use the camera to capture a image in landscape mode, I don't see this behaviour.
  • Apr 23, 2009
    issue 31 (The error that the other server returned was: 552 552 messag...) commented on by LeshikMail   -   ok i change -(NSString *)encodeBase64ForData in NSData+Base64Additions.m #define PARTS_LENGTH 512 -(NSString *)encodeBase64ForData { NSMutableString *encodedString = nil; // Make sure this is nul-terminated. size_t outBufferEstLength = EstimateBas64EncodedDataSize([self length]) + 1; char *outBuffer = calloc(outBufferEstLength, sizeof(char)); size_t outBufferLength = outBufferEstLength; if (Base64EncodeData([self bytes], [self length], outBuffer, &outBufferLength, FALSE)) { encodedString = [NSMutableString stringWithCString:outBuffer encoding:NSASCIIStringEncoding]; //divide string int length = [encodedString length]; int partsCount = length/PARTS_LENGTH; for(int i = partsCount; i >= 1; i--) { [encodedString insertString:@"\n" atIndex: PARTS_LENGTH*i]; } } else { [NSException raise:@"NSData+Base64AdditionsException" format:@"Unable to encode data!"]; } free(outBuffer); return encodedString; } and all good work.
    ok i change -(NSString *)encodeBase64ForData in NSData+Base64Additions.m #define PARTS_LENGTH 512 -(NSString *)encodeBase64ForData { NSMutableString *encodedString = nil; // Make sure this is nul-terminated. size_t outBufferEstLength = EstimateBas64EncodedDataSize([self length]) + 1; char *outBuffer = calloc(outBufferEstLength, sizeof(char)); size_t outBufferLength = outBufferEstLength; if (Base64EncodeData([self bytes], [self length], outBuffer, &outBufferLength, FALSE)) { encodedString = [NSMutableString stringWithCString:outBuffer encoding:NSASCIIStringEncoding]; //divide string int length = [encodedString length]; int partsCount = length/PARTS_LENGTH; for(int i = partsCount; i >= 1; i--) { [encodedString insertString:@"\n" atIndex: PARTS_LENGTH*i]; } } else { [NSException raise:@"NSData+Base64AdditionsException" format:@"Unable to encode data!"]; } free(outBuffer); return encodedString; } and all good work.
  • Apr 23, 2009
    issue 11 (Several build errors) commented on by guillaume.sigalas   -   I've got the same, with 8 errors ... ? :(
    I've got the same, with 8 errors ... ? :(
  • Apr 22, 2009
    issue 32 (unable to send a .png file as attachment.) commented on by LeshikMail   -   may be text/directory replacing image/png
    may be text/directory replacing image/png
  • Apr 21, 2009
    issue 32 (unable to send a .png file as attachment.) reported by ahr.srivaths   -   I was able to send the .vcf file as attachment, but when I try to send a .png file, the attachment is not proper. The image at the receiver is seen as 1k file with a '?'. I have added an image.png to my resources and am trying to attach it. What version of the product are you using? On what operating system? iPhone Please provide any additional information below. File Size: 4-12 KB My Source: testMsg.delegate = self; NSDictionary *plainPart = [NSDictionary dictionaryWithObjectsAndKeys:@"text/plain",kSKPSMTPPartContentTypeKey, @"[File] Uploaded Picture",kSKPSMTPPartMessageKey,@"8bit",kSKPSMTPPartContentTransferEncodingKey,nil]; NSString *vcfPath = [[NSBundle mainBundle] pathForResource:@"image" ofType:@"png"]; NSData *vcfData = [NSData dataWithContentsOfFile:vcfPath]; NSDictionary *vcfPart = [NSDictionary dictionaryWithObjectsAndKeys:@"text/directory;\r\n\tx-unix-mode=0644;\r\n\tname=\"image.png\"",kSKPSMTPPartContentTypeKey, @"attachment;\r\n\tfilename=\"image.png\"",kSKPSMTPPartContentDispositionKey,[vcfData encodeBase64ForData],kSKPSMTPPartMessageKey,@"base64",kSKPSMTPPartContentTransferEncodingKey,nil]; testMsg.parts = [NSArray arrayWithObjects:plainPart,vcfPart,nil]; [testMsg send]; Please find enclosed the image I see at receiver. Thanks for help. Svaths
    I was able to send the .vcf file as attachment, but when I try to send a .png file, the attachment is not proper. The image at the receiver is seen as 1k file with a '?'. I have added an image.png to my resources and am trying to attach it. What version of the product are you using? On what operating system? iPhone Please provide any additional information below. File Size: 4-12 KB My Source: testMsg.delegate = self; NSDictionary *plainPart = [NSDictionary dictionaryWithObjectsAndKeys:@"text/plain",kSKPSMTPPartContentTypeKey, @"[File] Uploaded Picture",kSKPSMTPPartMessageKey,@"8bit",kSKPSMTPPartContentTransferEncodingKey,nil]; NSString *vcfPath = [[NSBundle mainBundle] pathForResource:@"image" ofType:@"png"]; NSData *vcfData = [NSData dataWithContentsOfFile:vcfPath]; NSDictionary *vcfPart = [NSDictionary dictionaryWithObjectsAndKeys:@"text/directory;\r\n\tx-unix-mode=0644;\r\n\tname=\"image.png\"",kSKPSMTPPartContentTypeKey, @"attachment;\r\n\tfilename=\"image.png\"",kSKPSMTPPartContentDispositionKey,[vcfData encodeBase64ForData],kSKPSMTPPartMessageKey,@"base64",kSKPSMTPPartContentTransferEncodingKey,nil]; testMsg.parts = [NSArray arrayWithObjects:plainPart,vcfPart,nil]; [testMsg send]; Please find enclosed the image I see at receiver. Thanks for help. Svaths
  • Apr 16, 2009
    issue 30 (How to embed an image?) commented on by raktimd   -   Thanks Justin. Making it inline was not sufficient. I had achieved it in this way: // part1 - text part, MIME type text/html, HTML <img> tag uses src="cid:my_image", this cid value 'my_image' is being referred in SMTP Content-ID header NSDictionary *plainPart = [NSDictionary dictionaryWithObjectsAndKeys:@"text/html",kSKPSMTPPartContentTypeKey,@"This is a tést messåge.<img src=\"cid:my_image\">" ,kSKPSMTPPartMessageKey,@"8bit",kSKPSMTPPartContentTransferEncodingKey,nil]; // part2 - image part, MIME type image/jpeg, Content-Disposition is 'inline'. Content-Transfer-Encoding is 'base64' NSDictionary *imagePart = [NSDictionary dictionaryWithObjectsAndKeys:@"image/jpeg",kSKPSMTPPartContentTypeKey,@"inline",kSKPSMTPPartContentDispositionKey,[imageData encodeBase64ForData],kSKPSMTPPartMessageKey,@"base64",kSKPSMTPPartContentTransferEncodingKey,@"<my_image>",kSKPSMTPPartContentIdKey,nil]; In sendParts method of SKPSMTPMessage.m, this was done: [message appendString:@"Content-Type: multipart/related; boundary=SKPSMTPMessage--Separator--Delimiter\r\n"]; for (NSDictionary *part in parts) { ... if ([part objectForKey:kSKPSMTPPartContentIdKey]) { [message appendFormat:@"Content-ID: %@\r\n", [part objectForKey:kSKPSMTPPartContentIdKey]]; } ... }
    Thanks Justin. Making it inline was not sufficient. I had achieved it in this way: // part1 - text part, MIME type text/html, HTML <img> tag uses src="cid:my_image", this cid value 'my_image' is being referred in SMTP Content-ID header NSDictionary *plainPart = [NSDictionary dictionaryWithObjectsAndKeys:@"text/html",kSKPSMTPPartContentTypeKey,@"This is a tést messåge.<img src=\"cid:my_image\">" ,kSKPSMTPPartMessageKey,@"8bit",kSKPSMTPPartContentTransferEncodingKey,nil]; // part2 - image part, MIME type image/jpeg, Content-Disposition is 'inline'. Content-Transfer-Encoding is 'base64' NSDictionary *imagePart = [NSDictionary dictionaryWithObjectsAndKeys:@"image/jpeg",kSKPSMTPPartContentTypeKey,@"inline",kSKPSMTPPartContentDispositionKey,[imageData encodeBase64ForData],kSKPSMTPPartMessageKey,@"base64",kSKPSMTPPartContentTransferEncodingKey,@"<my_image>",kSKPSMTPPartContentIdKey,nil]; In sendParts method of SKPSMTPMessage.m, this was done: [message appendString:@"Content-Type: multipart/related; boundary=SKPSMTPMessage--Separator--Delimiter\r\n"]; for (NSDictionary *part in parts) { ... if ([part objectForKey:kSKPSMTPPartContentIdKey]) { [message appendFormat:@"Content-ID: %@\r\n", [part objectForKey:kSKPSMTPPartContentIdKey]]; } ... }
  • Apr 16, 2009
    issue 30 (How to embed an image?) commented on by c.justin.pearl   -   For the content disposition key, try changing "attachment" to "inline".
    For the content disposition key, try changing "attachment" to "inline".
  • Apr 15, 2009
    issue 31 (The error that the other server returned was: 552 552 messag...) reported by LeshikMail   -   i send image in e-mail and have this is an automatically generated Delivery Status Notification Technical details of permanent failure: Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 552 552 message line is too long (state 18). how chnge long ?
    i send image in e-mail and have this is an automatically generated Delivery Status Notification Technical details of permanent failure: Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 552 552 message line is too long (state 18). how chnge long ?
  • Apr 14, 2009
    issue 30 (How to embed an image?) reported by raktimd   -   If I want to embed a local image as part of the email body (thus making the email an HTML mail), what change in code should be done? The image should not go as an attachment, but embedded or inline in the message body. Some changes that I did are: NSDictionary *plainPart = [NSDictionary dictionaryWithObjectsAndKeys:@"text/html",kSKPSMTPPartContentTypeKey, @"This is a tést messåge. <img src=\"mail.jpg\" width=\"638\" height=\"425\" />",kSKPSMTPPartMessageKey,@"8bit",kSKPSMTPPartContentTransferEncodingKey,nil]; NSString *imagePath = [[NSBundle mainBundle] pathForResource:@"mail" ofType:@"jpg"]; NSData *imageData = [NSData dataWithContentsOfFile:imagePath]; NSDictionary *imagePart = [NSDictionary dictionaryWithObjectsAndKeys:@"image/jpeg;\r\n\tx- unix-mode=0644;\r\n\tname=\"mail.jpg\"",kSKPSMTPPartContentTypeKey, @"attachment;\r\n\tfilename=\"mail.jpg\"",kSKPSMTPPartContentDispositionKey,[imageData encodeBase64ForData],kSKPSMTPPartMessageKey,@"base64",kSKPSMTPPartContentTransferEnco dingKey,nil]; Rest of the code remains unchanged. The mail.jpg file is added in Resources. But this is not sending the image embedded. It goes as an attachment. The image placeholder on the received HTML-format mail is empty. Pls give some suggestions. Thanks, Raktim.
    If I want to embed a local image as part of the email body (thus making the email an HTML mail), what change in code should be done? The image should not go as an attachment, but embedded or inline in the message body. Some changes that I did are: NSDictionary *plainPart = [NSDictionary dictionaryWithObjectsAndKeys:@"text/html",kSKPSMTPPartContentTypeKey, @"This is a tést messåge. <img src=\"mail.jpg\" width=\"638\" height=\"425\" />",kSKPSMTPPartMessageKey,@"8bit",kSKPSMTPPartContentTransferEncodingKey,nil]; NSString *imagePath = [[NSBundle mainBundle] pathForResource:@"mail" ofType:@"jpg"]; NSData *imageData = [NSData dataWithContentsOfFile:imagePath]; NSDictionary *imagePart = [NSDictionary dictionaryWithObjectsAndKeys:@"image/jpeg;\r\n\tx- unix-mode=0644;\r\n\tname=\"mail.jpg\"",kSKPSMTPPartContentTypeKey, @"attachment;\r\n\tfilename=\"mail.jpg\"",kSKPSMTPPartContentDispositionKey,[imageData encodeBase64ForData],kSKPSMTPPartMessageKey,@"base64",kSKPSMTPPartContentTransferEnco dingKey,nil]; Rest of the code remains unchanged. The mail.jpg file is added in Resources. But this is not sending the image embedded. It goes as an attachment. The image placeholder on the received HTML-format mail is empty. Pls give some suggestions. Thanks, Raktim.
  • Apr 09, 2009
    issue 29 (Send on some wireless networks fails) commented on by google...@rakonza.com   -   This is an internet service provider issue. They are blocking port 25, and my SMTP server doesn't listen on 465 and 587.
    This is an internet service provider issue. They are blocking port 25, and my SMTP server doesn't listen on 465 and 587.
  • Apr 09, 2009
    issue 29 (Send on some wireless networks fails) commented on by iphonesender90408   -   This is an internet service provider issue. They are blocking port 25, and my SMTP server doesn't handle the other two ports.
    This is an internet service provider issue. They are blocking port 25, and my SMTP server doesn't handle the other two ports.
  • Apr 08, 2009
    issue 29 (Send on some wireless networks fails) commented on by google...@rakonza.com   -   Since I could not reproduce the problem, I sent a version that outputs the NSLog to a view. The customer sent back a screen image with the following log entries: 2009-04-08....Attempting to conntect to server at: mail.mysite.com:25 2009-04-08....Attempting to conntect to server at: mail.mysite.com:465 2009-04-08....Attempting to conntect to server at: mail.mysite.com:587 That's it. He can send using his normal email program, and he can browse the internet.
    Since I could not reproduce the problem, I sent a version that outputs the NSLog to a view. The customer sent back a screen image with the following log entries: 2009-04-08....Attempting to conntect to server at: mail.mysite.com:25 2009-04-08....Attempting to conntect to server at: mail.mysite.com:465 2009-04-08....Attempting to conntect to server at: mail.mysite.com:587 That's it. He can send using his normal email program, and he can browse the internet.
  • Apr 06, 2009
    issue 29 (Send on some wireless networks fails) reported by google...@rakonza.com   -   What steps will reproduce the problem? Just a normal send like in the sample code. What is the expected output? What do you see instead? My code gets/reports a generic 'unable to connect to server' failure instead of a success. What version of the product are you using? On what operating system? iPod touch unknown OS version Please provide any additional information below. My customers are seeing this. I haven't been able to reproduce the issue. It is not related to the email address. The information about the email server is hard coded into the app. So that is a constant. The only thing the end user enters is an email address. I haven't been able to figure out the common component to the scenario. Most customers are able to send without problems.
    What steps will reproduce the problem? Just a normal send like in the sample code. What is the expected output? What do you see instead? My code gets/reports a generic 'unable to connect to server' failure instead of a success. What version of the product are you using? On what operating system? iPod touch unknown OS version Please provide any additional information below. My customers are seeing this. I haven't been able to reproduce the issue. It is not related to the email address. The information about the email server is hard coded into the app. So that is a constant. The only thing the end user enters is an email address. I haven't been able to figure out the common component to the scenario. Most customers are able to send without problems.
  • Apr 05, 2009
    issue 26 (SKSMTPMessage.m Works on Simulator but not iPhone) commented on by google...@rakonza.com   -   Argh! I knew it couldn't be that easy. My fix works on the iPhone under the debugger, but not then running the app stand alone.
    Argh! I knew it couldn't be that easy. My fix works on the iPhone under the debugger, but not then running the app stand alone.
  • Apr 05, 2009
    issue 26 (SKSMTPMessage.m Works on Simulator but not iPhone) commented on by google...@rakonza.com   -   My customers reported a crashing issue with my app. I believe it is the same issue. I had to go buy an iPhone to test it. It works over wireless, but not over 3G. I got an EXEC_BAD_ACCESS. It looks like the watchdog timer is released when it's already nil. So I took the brute force approach of just checking for nil. This is likely NOT the root of the problem; but I will be testing the code to see if it is sufficient for my needs. /* old code - (void)stopWatchdog { //NSLog(@"*** stopping watchdog ***"); [self.watchdogTimer invalidate]; self.watchdogTimer = nil; } */ - (void)stopWatchdog { //NSLog(@"*** stopping watchdog ***"); if(self.watchdogTimer != nil) { [self.watchdogTimer invalidate]; self.watchdogTimer = nil; } }
    My customers reported a crashing issue with my app. I believe it is the same issue. I had to go buy an iPhone to test it. It works over wireless, but not over 3G. I got an EXEC_BAD_ACCESS. It looks like the watchdog timer is released when it's already nil. So I took the brute force approach of just checking for nil. This is likely NOT the root of the problem; but I will be testing the code to see if it is sufficient for my needs. /* old code - (void)stopWatchdog { //NSLog(@"*** stopping watchdog ***"); [self.watchdogTimer invalidate]; self.watchdogTimer = nil; } */ - (void)stopWatchdog { //NSLog(@"*** stopping watchdog ***"); if(self.watchdogTimer != nil) { [self.watchdogTimer invalidate]; self.watchdogTimer = nil; } }
  • Apr 02, 2009
    issue 28 (Problem attaching .wav and .caf files.) reported by petertrennum   -   When I attach certain .wav files or any .caf file the file either becomes completely or partially corrupted and comes out sounding like white noise or having some white noise appended. It also seems that if you are recieving these attachments on another iPhone they are corrupted but if you open the same email on a desktop the sound file plays just fine.
    When I attach certain .wav files or any .caf file the file either becomes completely or partially corrupted and comes out sounding like white noise or having some white noise appended. It also seems that if you are recieving these attachments on another iPhone they are corrupted but if you open the same email on a desktop the sound file plays just fine.
  • Mar 26, 2009
    issue 27 (unrecognized selector sent to instance) commented on by averagejake   -   You need to make sure your MainViewController conforms to the SKPSMTPMessageSenderDelegate protocol. Example: @interface MainViewController : UIViewController <SKPSMTPMessageSenderDelegate> And in your MainViewController.m you need to have both methods from the SKPSMTPMessageSenderDelegate: -(void)messageSent:(SKPSMTPMessageSender *)message; -(void)messageFailed:(SKPSMTPMessageSender *)message error:(NSError *)error; This should fix your "unrecognized selector sent to instance" error, although it looks like the reason you're getting that error is because -(void)messageFailed:(SKPSMTPMessageSender *)message error:(NSError *)error; is trying to be called. That means there is something deeper to the issue that you need to look into.
    You need to make sure your MainViewController conforms to the SKPSMTPMessageSenderDelegate protocol. Example: @interface MainViewController : UIViewController <SKPSMTPMessageSenderDelegate> And in your MainViewController.m you need to have both methods from the SKPSMTPMessageSenderDelegate: -(void)messageSent:(SKPSMTPMessageSender *)message; -(void)messageFailed:(SKPSMTPMessageSender *)message error:(NSError *)error; This should fix your "unrecognized selector sent to instance" error, although it looks like the reason you're getting that error is because -(void)messageFailed:(SKPSMTPMessageSender *)message error:(NSError *)error; is trying to be called. That means there is something deeper to the issue that you need to look into.
  • Mar 23, 2009
    issue 11 (Several build errors) commented on by shai.wininger   -   getting the same problems as well. Anyone ?
    getting the same problems as well. Anyone ?
  • Mar 22, 2009
    issue 27 (unrecognized selector sent to instance) reported by jcoll...@collinssolutions.com   -   I copied in your code to do a test. SKPSMTPMessage *testMsg = [[SKPSMTPMessage alloc] init]; testMsg.fromEmail = @"gps@collinssolutions.com"; testMsg.toEmail = @"jcollins@collinssolutions.com"; testMsg.relayHost = @"collinssolutions.com"; testMsg.requiresAuth = YES; testMsg.login = @"gps@collinssolutions.com"; testMsg.pass = @"taken out for internet post"; testMsg.subject = @"GPS Download"; testMsg.bccEmail = @"service@collinssolutions.com"; testMsg.wantsSecure = NO; // smtp.gmail.com doesn't work without TLS! // Only do this for self-signed certs! // testMsg.validateSSLChain = NO; testMsg.delegate = self; NSDictionary *plainPart = [NSDictionary dictionaryWithObjectsAndKeys:@"text/plain",kSKPSMTPPartContentTypeKey, @"This is a tést messåge.",kSKPSMTPPartMessageKey,@"8bit",kSKPSMTPPartContentTransferEncodingKey,nil]; NSString *vcfPath = [[NSBundle mainBundle] pathForResource:@"test" ofType:@"vcf"]; NSData *vcfData = [NSData dataWithContentsOfFile:vcfPath]; NSDictionary *vcfPart = [NSDictionary dictionaryWithObjectsAndKeys:@"text/directory;\r\n\tx- unix-mode=0644;\r\n\tname=\"test.vcf\"",kSKPSMTPPartContentTypeKey, @"attachment;\r\n\tfilename=\"test.vcf\"",kSKPSMTPPartContentDispositionKey,[vcfData encodeBase64ForData],kSKPSMTPPartMessageKey,@"base64",kSKPSMTPPartContentTransferEnco dingKey,nil]; testMsg.parts = [NSArray arrayWithObjects:plainPart,vcfPart,nil]; [testMsg send]; I get this: 2009-03-22 19:46:41.072 LocateMe[1780:20b] C: Attempting to connect to server at: collinssolutions.com:25 2009-03-22 19:46:49.092 LocateMe[1780:20b] C: Attempting to connect to server at: collinssolutions.com:465 2009-03-22 19:46:57.099 LocateMe[1780:20b] C: Attempting to connect to server at: collinssolutions.com:587 2009-03-22 19:46:57.882 LocateMe[1780:20b] *** stopping watchdog *** 2009-03-22 19:46:57.888 LocateMe[1780:20b] S: 220 bighorn.nexcess.net ESMTP 2009-03-22 19:46:57.893 LocateMe[1780:20b] C: EHLO localhost 2009-03-22 19:46:57.899 LocateMe[1780:20b] *** starting short watchdog *** 2009-03-22 19:46:57.943 LocateMe[1780:20b] *** stopping watchdog *** 2009-03-22 19:46:57.952 LocateMe[1780:20b] S: 250-bighorn.nexcess.net 2009-03-22 19:46:57.963 LocateMe[1780:20b] *** stopping watchdog *** 2009-03-22 19:46:57.973 LocateMe[1780:20b] S: 250-STARTTLS 2009-03-22 19:46:57.984 LocateMe[1780:20b] *** stopping watchdog *** 2009-03-22 19:46:57.994 LocateMe[1780:20b] S: 250-PIPELINING 2009-03-22 19:46:58.005 LocateMe[1780:20b] *** stopping watchdog *** 2009-03-22 19:46:58.017 LocateMe[1780:20b] S: 250-8BITMIME 2009-03-22 19:46:58.027 LocateMe[1780:20b] *** stopping watchdog *** 2009-03-22 19:46:58.035 LocateMe[1780:20b] S: 250-SIZE 20971520 2009-03-22 19:46:58.041 LocateMe[1780:20b] *** stopping watchdog *** 2009-03-22 19:46:58.046 LocateMe[1780:20b] S: 250 AUTH LOGIN PLAIN CRAM-MD5 2009-03-22 19:46:58.080 LocateMe[1780:20b] *** -[MainViewController messageFailed:error:]: unrecognized selector sent to instance 0x11e9b0 2009-03-22 19:46:58.088 LocateMe[1780:20b] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[MainViewController messageFailed:error:]: unrecognized selector sent to instance 0x11e9b0' 2009-03-22 19:46:58.098 LocateMe[1780:20b] Stack: ( 808221155, 806100816, 808224837, 807957033, 807851552, 60763, 51397, 812621199, 808007687, 808007573, 808007199, 824152885, 808006801, 808006183, 807836299, 807834407, 827752032, 816118388, 816157144, 8381, 8244 ) terminate called after throwing an instance of 'NSException' I am needing to email a sqlite database that is stored in the apps Documents Dir
    I copied in your code to do a test. SKPSMTPMessage *testMsg = [[SKPSMTPMessage alloc] init]; testMsg.fromEmail = @"gps@collinssolutions.com"; testMsg.toEmail = @"jcollins@collinssolutions.com"; testMsg.relayHost = @"collinssolutions.com"; testMsg.requiresAuth = YES; testMsg.login = @"gps@collinssolutions.com"; testMsg.pass = @"taken out for internet post"; testMsg.subject = @"GPS Download"; testMsg.bccEmail = @"service@collinssolutions.com"; testMsg.wantsSecure = NO; // smtp.gmail.com doesn't work without TLS! // Only do this for self-signed certs! // testMsg.validateSSLChain = NO; testMsg.delegate = self; NSDictionary *plainPart = [NSDictionary dictionaryWithObjectsAndKeys:@"text/plain",kSKPSMTPPartContentTypeKey, @"This is a tést messåge.",kSKPSMTPPartMessageKey,@"8bit",kSKPSMTPPartContentTransferEncodingKey,nil]; NSString *vcfPath = [[NSBundle mainBundle] pathForResource:@"test" ofType:@"vcf"]; NSData *vcfData = [NSData dataWithContentsOfFile:vcfPath]; NSDictionary *vcfPart = [NSDictionary dictionaryWithObjectsAndKeys:@"text/directory;\r\n\tx- unix-mode=0644;\r\n\tname=\"test.vcf\"",kSKPSMTPPartContentTypeKey, @"attachment;\r\n\tfilename=\"test.vcf\"",kSKPSMTPPartContentDispositionKey,[vcfData encodeBase64ForData],kSKPSMTPPartMessageKey,@"base64",kSKPSMTPPartContentTransferEnco dingKey,nil]; testMsg.parts = [NSArray arrayWithObjects:plainPart,vcfPart,nil]; [testMsg send]; I get this: 2009-03-22 19:46:41.072 LocateMe[1780:20b] C: Attempting to connect to server at: collinssolutions.com:25 2009-03-22 19:46:49.092 LocateMe[1780:20b] C: Attempting to connect to server at: collinssolutions.com:465 2009-03-22 19:46:57.099 LocateMe[1780:20b] C: Attempting to connect to server at: collinssolutions.com:587 2009-03-22 19:46:57.882 LocateMe[1780:20b] *** stopping watchdog *** 2009-03-22 19:46:57.888 LocateMe[1780:20b] S: 220 bighorn.nexcess.net ESMTP 2009-03-22 19:46:57.893 LocateMe[1780:20b] C: EHLO localhost 2009-03-22 19:46:57.899 LocateMe[1780:20b] *** starting short watchdog *** 2009-03-22 19:46:57.943 LocateMe[1780:20b] *** stopping watchdog *** 2009-03-22 19:46:57.952 LocateMe[1780:20b] S: 250-bighorn.nexcess.net 2009-03-22 19:46:57.963 LocateMe[1780:20b] *** stopping watchdog *** 2009-03-22 19:46:57.973 LocateMe[1780:20b] S: 250-STARTTLS 2009-03-22 19:46:57.984 LocateMe[1780:20b] *** stopping watchdog *** 2009-03-22 19:46:57.994 LocateMe[1780:20b] S: 250-PIPELINING 2009-03-22 19:46:58.005 LocateMe[1780:20b] *** stopping watchdog *** 2009-03-22 19:46:58.017 LocateMe[1780:20b] S: 250-8BITMIME 2009-03-22 19:46:58.027 LocateMe[1780:20b] *** stopping watchdog *** 2009-03-22 19:46:58.035 LocateMe[1780:20b] S: 250-SIZE 20971520 2009-03-22 19:46:58.041 LocateMe[1780:20b] *** stopping watchdog *** 2009-03-22 19:46:58.046 LocateMe[1780:20b] S: 250 AUTH LOGIN PLAIN CRAM-MD5 2009-03-22 19:46:58.080 LocateMe[1780:20b] *** -[MainViewController messageFailed:error:]: unrecognized selector sent to instance 0x11e9b0 2009-03-22 19:46:58.088 LocateMe[1780:20b] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[MainViewController messageFailed:error:]: unrecognized selector sent to instance 0x11e9b0' 2009-03-22 19:46:58.098 LocateMe[1780:20b] Stack: ( 808221155, 806100816, 808224837, 807957033, 807851552, 60763, 51397, 812621199, 808007687, 808007573, 808007199, 824152885, 808006801, 808006183, 807836299, 807834407, 827752032, 816118388, 816157144, 8381, 8244 ) terminate called after throwing an instance of 'NSException' I am needing to email a sqlite database that is stored in the apps Documents Dir
  • Mar 13, 2009
    issue 5 (Implement support for large file attachments) commented on by ganupisal   -   To attach 2.5MB file. Which part of code I should modify? // Ganesh Pisal
    To attach 2.5MB file. Which part of code I should modify? // Ganesh Pisal
  • Mar 13, 2009
    issue 5 (Implement support for large file attachments) commented on by ganupisal   -   Can I use this email client to attach 2.5MB size sound file?
    Can I use this email client to attach 2.5MB size sound file?
  • Mar 11, 2009
    issue 26 (SKSMTPMessage.m Works on Simulator but not iPhone) commented on by t...@timkremer.info   -   By error - It is working on the phone for me.
    By error - It is working on the phone for me.
  • Mar 11, 2009
    issue 26 (SKSMTPMessage.m Works on Simulator but not iPhone) commented on by t...@timkremer.info   -   I'm having the same problem..
    I'm having the same problem..
  • Mar 11, 2009
    issue 25 (File extension inappropriately renamed to .VCF) commented on by heskor   -   To add some more information, it seems to happen to just some file types. I tried today with AIFF and AIFC and it worked fine, but i still got vcf on the caf-file
    To add some more information, it seems to happen to just some file types. I tried today with AIFF and AIFC and it worked fine, but i still got vcf on the caf-file
  • Mar 10, 2009
    issue 25 (File extension inappropriately renamed to .VCF) commented on by heskor   -   I have the exact same problem as Jeremy. Works fine on PC, but on my Mac the CAF-files I sent got a .vcf- ending. For txt and jpg-files it did not get the .vcf-ending.
    I have the exact same problem as Jeremy. Works fine on PC, but on my Mac the CAF-files I sent got a .vcf- ending. For txt and jpg-files it did not get the .vcf-ending.
  • Mar 09, 2009
    issue 21 (SMTP Fails with TLS timeout from iPhone but not from XCode S...) commented on by qu...@ambertation.de   -   Replacing the lines (should be around line 430 in SKPSMTPMessage.m. Can't say exactly as I added some lines to turn on/off the NSLogs with a define) CFWriteStreamWriteFully((CFWriteStreamRef)outputStream, (const uint8_t *)[ehlo UTF8String], [ehlo lengthOfBytesUsingEncoding:NSUTF8StringEncoding]); [self startShortWatchdog]; with this try catch Block @try { CFWriteStreamWriteFully((CFWriteStreamRef)outputStream, (const uint8_t *)[ehlo UTF8String], [ehlo lengthOfBytesUsingEncoding:NSUTF8StringEncoding]); [self startShortWatchdog]; } @catch (NSException * e) { [self stopWatchdog]; error = [NSError errorWithDomain:@"SKPSMTPMessageError" code:kSKPSMTPErrorTLSFail userInfo:[NSDictionary dictionaryWithObject:NSLocalizedString(@"Unable to start TLS", @"") forKey:NSLocalizedDescriptionKey]]; encounteredError = YES; } did help. The problem was, that the server did talk about TLS when contacted by the iPhone, but didn't reall support it. Causing the timeout and with it an uncaught exception that crashes the app.
    Replacing the lines (should be around line 430 in SKPSMTPMessage.m. Can't say exactly as I added some lines to turn on/off the NSLogs with a define) CFWriteStreamWriteFully((CFWriteStreamRef)outputStream, (const uint8_t *)[ehlo UTF8String], [ehlo lengthOfBytesUsingEncoding:NSUTF8StringEncoding]); [self startShortWatchdog]; with this try catch Block @try { CFWriteStreamWriteFully((CFWriteStreamRef)outputStream, (const uint8_t *)[ehlo UTF8String], [ehlo lengthOfBytesUsingEncoding:NSUTF8StringEncoding]); [self startShortWatchdog]; } @catch (NSException * e) { [self stopWatchdog]; error = [NSError errorWithDomain:@"SKPSMTPMessageError" code:kSKPSMTPErrorTLSFail userInfo:[NSDictionary dictionaryWithObject:NSLocalizedString(@"Unable to start TLS", @"") forKey:NSLocalizedDescriptionKey]]; encounteredError = YES; } did help. The problem was, that the server did talk about TLS when contacted by the iPhone, but didn't reall support it. Causing the timeout and with it an uncaught exception that crashes the app.
  • Mar 08, 2009
    issue 26 (SKSMTPMessage.m Works on Simulator but not iPhone) reported by mchar...@nextstreammedia.com   -   I have this program working fine on the iPhone Simulator, but when I install it on the iPhone, no messages are sent. Any ideas?
    I have this program working fine on the iPhone Simulator, but when I install it on the iPhone, no messages are sent. Any ideas?
 
Hosted by Google Code