|
|
|
HTML и utl_smtp
|
|||
|---|---|---|---|
|
#18+
Возможно ли отослать почту через utl_smtp и как это сделать? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 19.04.2006, 12:35:57 |
|
||
|
HTML и utl_smtp
|
|||
|---|---|---|---|
|
#18+
from utl_smtp.pks: * EXAMPLES * Retrieve the home page from http://www.acme.com/ * * DECLARE * c utl_smtp.connection; * * PROCEDURE send_header(name IN VARCHAR2, header IN VARCHAR2) AS * BEGIN * utl_smtp.write_data(c, name || ': ' || header || utl_tcp.CRLF); * END; * * BEGIN * c := utl_smtp.open_connection('smtp-server.acme.com'); * utl_smtp.helo(c, 'foo.com'); * utl_smtp.mail(c, 'sender@foo.com'); * utl_smtp.rcpt(c, 'recipient@foo.com'); * utl_smtp.open_data(c); * send_header('From', '"Sender" <sender@foo.com>'); * send_header('To', '"Recipient" <recipient@foo.com>'); * send_header('Subject', 'Hello'); * utl_smtp.write_data(c, utl_tcp.CRLF || 'Hello, world!'); * utl_smtp.close_data(c); * utl_smtp.quit(c); * EXCEPTION * WHEN utl_smtp.transient_error OR utl_smtp.permanent_error THEN * BEGIN * utl_smtp.quit(c); * EXCEPTION * WHEN utl_smtp.transient_error OR utl_smtp.permanent_error THEN * NULL; -- When the SMTP server is down or unavailable, we don't * -- have a connection to the server. The quit call will * -- raise an exception that we can ignore. * END; * raise_application_error(-20000, * 'Failed to send mail due to the following error: ' || sqlerrm); * END; */ God Bless You, Admin! ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 19.04.2006, 14:57:32 |
|
||
|
HTML и utl_smtp
|
|||
|---|---|---|---|
|
#18+
Лично я очень жду миграции на 10G с пакетом utl_mail - там аттачменты поддерживаются.. Так что если у Вас уже то забудьте про utl_smtp.. God Bless You, Admin! ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 19.04.2006, 14:59:42 |
|
||
|
HTML и utl_smtp
|
|||
|---|---|---|---|
|
#18+
забыл добавить - возможна ли отсылка почты через utl_smtp в html формате? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 20.04.2006, 04:32:48 |
|
||
|
HTML и utl_smtp
|
|||
|---|---|---|---|
|
#18+
все, сделал только в TheBat кодировка заголовка не та ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 20.04.2006, 06:16:09 |
|
||
|
HTML и utl_smtp
|
|||
|---|---|---|---|
|
#18+
все, разобрался, название кодировки неправильное было ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 20.04.2006, 06:28:21 |
|
||
|
HTML и utl_smtp
|
|||
|---|---|---|---|
|
#18+
typhoon Не подскажите пожалуйста как вы отправили письмо в html? У меня только исходный текст html доходит, и не отображается как html. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 30.07.2007, 10:34:48 |
|
||
|
HTML и utl_smtp
|
|||
|---|---|---|---|
|
#18+
Alex85typhoon Не подскажите пожалуйста как вы отправили письмо в html? У меня только исходный текст html доходит, и не отображается как html. У меня тот же вопрос ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 25.07.2016, 03:48:07 |
|
||
|
|

start [/forum/search_topic.php?author=Another_newbie&author_mode=last_posts&do_search=1]: |
0ms |
get settings: |
5ms |
get forum list: |
16ms |
get settings: |
6ms |
get forum list: |
12ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
201ms |
get topic data: |
10ms |
get first new msg: |
5ms |
get forum data: |
2ms |
get page messages: |
47ms |
get tp. blocked users: |
1ms |
| others: | 2191ms |
| total: | 2500ms |

| 0 / 0 |
