
Criei um arquivo que faz um checklist do banco de dados e envia um relatório para alguns e-mails via SMTP Server. Em um determinado momento verifiquei que o relatório não estava mais sendo enviado e reportava o seguinte erro “ORA-29278: SMTP transient error: 421 Service not available”. Após algumas análises, verifiquei que houve alteração do IP do SMTP Server e , com isso, resolvi o problema. Como ? Quando se usa SMTP para enviar e-mails em banco de dados Oracle, configura o parâmetro SMTP_OUT_SERVER no banco de dados com o IP do SMTP Server e, como foi alterado o mesmo, só foi modificá-lo para o novo e-mail e o relatório voltou a ser enviado.
Sendo assim, segue exemplo do erro:
27 ); 28 END; 29 / DECLARE * ERROR at line 1: ORA-29278: SMTP transient error: 421 Service not available ORA-06512: at "SYS.UTL_MAIL", line 662 ORA-06512: at "SYS.UTL_MAIL", line 679 ORA-06512: at line 5
Segue o exemplo de alteração do parâmetro:
alter system set smtp_out_server='NEW IP:25' scope=both;
Onde “NEW IP” se refere ao novo IP do SMTP Server e 25 a porta padrão do serviço . Por exemplo , se o IP fosse 100.10.10.1, a configuração seria:
alter system set smtp_out_server='100.10.10.1:25' scope=both;


*The views expressed here are my own and do not represent those of my employer.*
Hello, I’m Bruno — a dual citizen of Brazil and Sweden. I bring a global perspective shaped by experiences in both South America and Europe, with a strong focus on collaboration and innovation across cultures. I am a Computer Scientist, PhD Candidate in Information and Communication Technologies, focusing on Data Science and Artificial Intelligence, and hold dual Master’s degrees in Data Science and Cybersecurity. With over fifteen years of international experience spanning Brazil, Hungary, and Sweden, I have collaborated with global organizations such as IBM, Playtech, and Oracle, as well as contributed remotely to projects across multiple regions. My professional interests include Databases, Cybersecurity, Cloud Computing, Data Science, Data Engineering, Big Data, Artificial Intelligence, Programming, and Software Engineering, all driven by a deep passion for transforming data into strategic business value.