פורסם 2007 ביוני 918 שנים שלום יש לי קוד ששולח אימייל בASPוהוא עבד לי בערך לפני חודש... וכשניסיתי בימים האחרונים הוא לא פעל.ניסיתי את שני הקודים האלו: Set myMail=Server.CreateObject("CDO.Message") myMail.Subject="תודה שנרשמת (פרטי משתמש)" myMail.From="myMail@myDomain.com" myMail.To=request.form("mail") myMail.HTMLBody = "<html><body dir=""rtl""><h2>תודה שנרשמת ל </h2><br /><h3>פרטי משתמש:</h3>...</body></html>" myMail.HTMLBodyPart.charset = "Windows-1255" myMail.Send set myMail=nothingוגם את זה Set myMail=Server.CreateObject("CDO.Message") myMail.Subject=Request.Form("title") myMail.From="myMail@gmail.com" myMail.To=Request.Form("SendEmailTo") myMail.HTMLBody = "<html><body dir=""rtl"">"&BBCodeToHTML(Request.Form("message"))&"</body></html>" myMail.BodyPart.charset = "Windows-1255" myMail.HTMLBodyPart.charset = "Windows-1255" myMail.Configuration.Fields.Item("[url]http://schemas.microsoft.com/cdo/configuration/sendusing"[/url])=2 'Name or IP of remote SMTP server myMail.Configuration.Fields.Item("[url]http://schemas.microsoft.com/cdo/configuration/smtpserver"[/url])="smtp.gmail.com" 'Server port myMail.Configuration.Fields.Item("[url]http://schemas.microsoft.com/cdo/configuration/smtpserverport"[/url])=465 myMail.Configuration.Fields.Item("[url]http://schemas.microsoft.com/cdo/configuration/smtpusessl"[/url]) = 1 'Type of authentication, NONE, Basic (Base64 encoded), NTLM myMail.Configuration.Fields.Item("[url]http://schemas.microsoft.com/cdo/configuration/smtpauthenticate"[/url]) = 1 'Your UserID on the SMTP server myMail.Configuration.Fields.Item("[url]http://schemas.microsoft.com/cdo/configuration/sendusername"[/url]) = gmailUserName&"@gmail.com" 'Your password on the SMTP server myMail.Configuration.Fields.Item("[url]http://schemas.microsoft.com/cdo/configuration/sendpassword"[/url]) = gmailUserPass myMail.Send set myMail=nothingושניהם לא עובדים:בשני הוא רושם לי בlog של שליחת מיילים: The+IP+you're+using+to+send+email+is+not+authorizedאת המקרה הראשון אני בודק שוב עכשיו ובינתיים הוא תקוע בתיקיית הQueue ב mailroot
פורסם 2007 ביוני 918 שנים מחבר הקוד לאו דווקא ממך יש מלא כאלה באינטרנט...בכל מקרה לא יודע למה הזה עם הGMAIL לא פעל אבל הראשון פועל לי שוב אז זה בסדר...עכשיו עוד שאלה בקשר לזה: איך אני יכול לעשות שזה לא יילך לתיקיה של הספאם בלקוח נגיד בGMAIL???
פורסם 2007 ביוני 918 שנים הדרך היחידה שזה לא ילך לSPAM - לתת כותרת שלא מכילה ויאגרה בחינם או משהו. בGMAIL ההודעה שלך תיכנס לתיבת הSPAM אם הרבה אנשים לחצו על הלחצן של הSPAM בהודעה שלך.הנה מה שרשמתי פעם(אם זה יעזור לך): http://hwzone.co.il/community/index.php?topic=180988.0
ארכיון
דיון זה הועבר לארכיון ולא ניתן להוסיף בו תגובות חדשות.