rajanikants / skpsmtpmessage

Automatically exported from code.google.com/p/skpsmtpmessage
0 stars 0 forks source link

Send on some wireless networks fails #29

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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.

Original issue reported on code.google.com by google...@rakonza.com on 6 Apr 2009 at 11:28

GoogleCodeExporter commented 8 years ago
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.

Original comment by google...@rakonza.com on 8 Apr 2009 at 5:09

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
This is an internet service provider issue.  They are blocking port 25, and my 
SMTP server doesn't listen on 465 
and 587.

Original comment by google...@rakonza.com on 9 Apr 2009 at 11:08

GoogleCodeExporter commented 8 years ago
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?

Original comment by aduong...@gmail.com on 6 Jul 2009 at 8:17

GoogleCodeExporter commented 8 years ago
This is still in issue 2 years later - any one have any luck before I go under 
the hood?

It doesn't appear to be an ISP issue, unless as mentioned, Apple's doing 
something sneaky in the mail.app.

I have the error messages delivered in an MFMailComposeViewController with the 
log attached and that sends beautifully.  

The error/delivery problem disappears if wifi is off.

Original comment by blaueha...@gmail.com on 11 Jul 2011 at 4:18