test55dev / skpsmtpmessage

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

Sending thru Yahoo dont seem to work #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I dont know if this is the right place to post this. But.... there is also a 
program called ssmtp 
which is like a slimmed down sendmail (it only sends smail and not receive so 
its perfect for this 
purpose). It supports SSL and MD5 and written in plain old C language. Maybe 
you guys can 
"borrow" some code from ssmtp so that you can add SSL and MD5 to skpsmtpmessage.

By the way I downloaded your code and ran it on my iphone, it cant seem to send 
any e-mails 
thru my yahoo account, but it does work thru my local  ISP. I set 
testMsg.relayHost=@"smtp.mail.yahoo.com" but it always fail with invalid 
password or something 
like that even though I have the right login and password on there. see console 
log below.

Has anybody tried sending mail thru yahoo with this program?

    testMsg.fromEmail = @"mylogin@yahoo.com";
    testMsg.toEmail =   @"mylogin@yahoo.com";
    testMsg.relayHost = @"smtp.mail.yahoo.com";
    testMsg.requiresAuth = YES;
    testMsg.login = @"mylogin";
    testMsg.pass = @"mypassword";
    testMsg.subject = @"test message";
    testMsg.wantsSecure = NO; // I tried both YES and NO, neither works

Log follows:
2008-12-30 22:40:21.837 SMTPSender[1355:20b] C: Attempting to connect to server 
at: 
smtp.mail.yahoo.com:25
2008-12-30 22:40:25.369 SMTPSender[1355:20b] *** stopping watchdog ***
2008-12-30 22:40:25.375 SMTPSender[1355:20b] S: 220 
smtp112.plus.mail.re1.yahoo.com 
ESMTP
2008-12-30 22:40:25.381 SMTPSender[1355:20b] C: EHLO localhost
2008-12-30 22:40:25.387 SMTPSender[1355:20b] *** starting short watchdog ***
2008-12-30 22:40:26.146 SMTPSender[1355:20b] *** stopping watchdog ***
2008-12-30 22:40:26.154 SMTPSender[1355:20b] S: 
250-smtp112.plus.mail.re1.yahoo.com
2008-12-30 22:40:26.160 SMTPSender[1355:20b] *** stopping watchdog ***
2008-12-30 22:40:26.166 SMTPSender[1355:20b] S: 250-AUTH LOGIN PLAIN XYMCOOKIE
2008-12-30 22:40:26.171 SMTPSender[1355:20b] *** stopping watchdog ***
2008-12-30 22:40:26.177 SMTPSender[1355:20b] S: 250-PIPELINING
2008-12-30 22:40:26.183 SMTPSender[1355:20b] *** stopping watchdog ***
2008-12-30 22:40:26.198 SMTPSender[1355:20b] S: 250 8BITMIME
.... [snip]

2008-12-30 22:40:26.205 SMTPSender[1355:20b] C: AUTH PLAIN 
... [snip]

2008-12-30 22:40:26.666 SMTPSender[1355:20b] S: 535 authorization failed 
(#5.7.0)
2008-12-30 22:40:26.694 SMTPSender[1355:20b] delegate - error(535): 
login/password invalid
2008-12-30 22:40:29.865 SMTPSender[1355:20b] *** stopping watchdog ***

Original issue reported on code.google.com by nigelcsm...@gmail.com on 31 Dec 2008 at 4:07

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
We have excatly the same thing sending emails to yahoo accounts.

Original comment by thewin...@googlemail.com on 8 Jan 2009 at 4:01

GoogleCodeExporter commented 9 years ago
Has anyone had success in determining the cause of this issue?

Original comment by c.justin...@gmail.com on 9 Feb 2009 at 7:06

GoogleCodeExporter commented 9 years ago
Something that may be worth mentioning, I set up my Yahoo account on my iPhone, 
and 
took a look at the outgoing mail server settings that it used to authenticate.  
While 
every other email account on my phone is set up on port 587, Yahoo uses port 0, 
SSL 
set to off.  Perhaps try sending through port 0 with wantsSecure=NO?

Original comment by c.justin...@gmail.com on 10 Feb 2009 at 5:25

GoogleCodeExporter commented 9 years ago
I haven't been able to try this out yet, please re-attempt with the latest code 
drop.

Original comment by ibaird@gmail.com on 20 Feb 2009 at 2:10

GoogleCodeExporter commented 9 years ago
Problem persists.

Original comment by c.justin...@gmail.com on 24 Feb 2009 at 6:10

GoogleCodeExporter commented 9 years ago
Upon doing some research, it looks like Yahoo! does not allow SMTP relaying 
through 
their free email accounts, only through the paid Plus accounts.  So this 
problem is 
highly unlikely to be "fixed" (circumnavigated would probably be a better word) 
since 
it's not an issue with the code itself.

Original comment by c.justin...@gmail.com on 25 Feb 2009 at 9:05

GoogleCodeExporter commented 9 years ago
I get this to work fine for Comcast.net. But it only works on the Simulator. 
Went I 
install the app on my iPhone, no emails go out. ??????

Original comment by mchar...@iapphealth.com on 8 Mar 2009 at 10:37

GoogleCodeExporter commented 9 years ago
Anybody know how to get the users email account details from settings, in order 
to send the email?

Original comment by captainw...@intergalacticwhizz.com on 25 May 2009 at 5:58