Этот баннер — требование Роскомнадзора для исполнения 152 ФЗ.
«На сайте осуществляется обработка файлов cookie, необходимых для работы сайта, а также для анализа использования сайта и улучшения предоставляемых сервисов с использованием метрической программы Яндекс.Метрика. Продолжая использовать сайт, вы даёте согласие с использованием данных технологий».
Политика конфиденциальности
|
|
|
Посылка мыла
|
|||
|---|---|---|---|
|
#18+
Пишу на .Net 2. Написал код что посылет сообщения на мыло.private void SendMail(string to, string data,string type) { try { SmtpClient client = new SmtpClient(); client.Host = ConfigurationManager.AppSettings["MailHost"].ToString(); MailMessage msg = new MailMessage(ConfigurationManager.AppSettings["MailFrom"].ToString(), to, "New \"CurrentEvent\" subscriber - "+type+" ("+DateTime.Now.ToLocalTime().ToString()+")",data ); msg.IsBodyHtml = true; client.Send(msg); //Response.Write(true); } catch { Label1.Text = "Error";//Response.Write(false); } } на yahoo всё приходит как надо. Но на gmail и mail.com не призодит вообще. В чём может быть причина?/**********Comments***************************/ We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 22.10.2006, 00:32 |
|
||
|
Посылка мыла
|
|||
|---|---|---|---|
|
#18+
Попробуй использовать OpenSmtp вместо System.Web.Mail. -- С уважением, Алексей К. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 22.10.2006, 09:20 |
|
||
|
Посылка мыла
|
|||
|---|---|---|---|
|
#18+
а если всё таки методами Framework-а/**********Comments***************************/ We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 22.10.2006, 10:45 |
|
||
|
Посылка мыла
|
|||
|---|---|---|---|
|
#18+
conderolа если всё таки методами Framework-а/**********Comments***************************/ We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. быть может срабатывают какие-либо спам фильтры. это уже зависит от настроек на доменах ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 22.10.2006, 13:43 |
|
||
|
|

start [/forum/topic.php?fid=18&tid=1388356]: |
0ms |
get settings: |
9ms |
get forum list: |
14ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
81ms |
get topic data: |
8ms |
get forum data: |
2ms |
get page messages: |
30ms |
get tp. blocked users: |
1ms |
| others: | 255ms |
| total: | 406ms |

| 0 / 0 |
