2
iphone×117661設置爲SMTP在發送電子郵件的背景
在這份聲明中Smtpout.servername.net,
會有什麼確切的記錄?我非常confused.I現在用gmail.Please澄清.....
//消息的膽量。
SKPSMTPMessage *testMsg = [[SKPSMTPMessage alloc] init];
testMsg.fromEmail = @"[email protected]";
testMsg.toEmail = @"[email protected]";
testMsg.relayHost = @"smtpout.yourserver.net";
testMsg.requiresAuth = YES;
testMsg.login = @"[email protected]";
testMsg.pass = @"yourPassWord";
testMsg.subject = @"This is the email subject line";
testMsg.wantsSecure = YES; // smtp.gmail.com doesn't work without TLS!
這段代碼我用過了,這裏在testMsg.relayHost = @"smtpout.yourserver.net"
;
將使用什麼條目SMTPOUT和「您的服務器」