26.11.2004, 11:48 | #1 |
Участник
|
how to send an email?
i need to send an email from my Entrprise portal. How to do that? are there any examples in axapta?
thanks in advance |
|
26.11.2004, 13:53 | #3 |
Administrator
|
Re: how to send an email?
Цитата:
Изначально опубликовано paucer
i need to send an email from my Entrprise portal.
__________________
Not registered yet? Register here! Have comments, questions, suggestions or anything else regarding our web site? Don't hesitate, send them to me |
|
26.11.2004, 14:27 | #4 |
Участник
|
Re: Re: how to send an email?
Цитата:
Изначально опубликовано Maxim Gorbunov
А по какому событию? In this case i would put mail send code in datasorce's field's modified() method. |
|
26.11.2004, 15:47 | #5 |
Участник
|
А можно ли как-нибудь проверить статус операции? Ни quickSend, ни sendMail ничего не возвращают... При неверных настройках почты просто выскакивает сообщение об ошибке. Хотелось бы его подавить и обрабатывать ситуацию вручную
|
|
26.11.2004, 16:29 | #6 |
экс-модератор
|
При неверных настройках почты просто выскакивает сообщение об ошибке
try/catch убрать само сообщение - infolog.cut() |
|
26.11.2004, 17:19 | #7 |
Участник
|
tips...
i downloaded Dndas Mailer Cotrol and activated SMTP service on my PC, but I get else branch in this pieace of code:
PHP код:
maybe you have any tips how configure correct smpt or to test if my smtp works fine. Paul... |
|
26.11.2004, 17:31 | #8 |
Участник
|
my appologies, i wanted to write:
but I can't get in "else" branch in this pieace of code: |
|
26.11.2004, 18:24 | #9 |
Administrator
|
А DNS-сервер указывать пробовали.
Цитата:
IMPORTANT: If you do not specify a DNS server before calling this method then it will take a substantial amount of time to perform the validation. Make sure you use a DNS server!
Цитата:
ValidateAddress uses the DNSServers collections to perform mail exchange lookups, so it is highly recommended that you add multiple DNS servers to this collection. If no DNS servers have been added to the DNSServers collection then the following default servers will be tried in their respective order: "A.ROOT-SERVERS.NET", "B.ROOT-SERVERS.NET" and "C.ROOT-SERVERS.NET". If these servers are not available then the method call will fail and return an error code.
__________________
Not registered yet? Register here! Have comments, questions, suggestions or anything else regarding our web site? Don't hesitate, send them to me |
|