Oracle Middleware Blog

About

Privacy Policy

SiteMap

If you are trying to set up email notification in Weblogic and your emails are not getting through to your inbox, it might be nothing wrong with your application server configurations, but rather a problem with the email server itself. To test if a regular mail is being sent without having to configure a mail client with that server, you can use the steps below to send an email via command line:

telnet <email_server_hostname> 25 S: 220 smtp.example.com ESMTP Postfix C: HELO something.com S: 250 Hello relay.example.org, I am glad to meet you C: MAIL FROM: someone@oraclemiddlewareblog.com S: 250 Ok C: RCPT TO:radu@oraclemiddlewareblog.com S: 250 Ok C: RCPT TO:someoneyoumightwanttocc@oraclemiddlewareblog.com S: 250 Ok C: DATA S: 354 End data with “.” C: From: “Bob Example” <bob@oraclemiddlewareblog.com> C: To: “Alice Example” <alice@oraclemiddlewareblog.com> C: Cc: theboss@oraclemiddlewareblog.com C: Date: Tue, 15 Jan 2008 16:02:43 -0500 C: Subject: Test message C: C: Hello Radu, C: This is a test message with 5 header fields and 4 lines in the message body. C: Your friend, C: Someone C: . S: 250 Ok: queued as 12345 C: QUIT S: 221 Bye {The server closes the connection}

Enjoy!

Share

Email

Tweet

Pocket

← What’s new in Oracle Weblogic Server 12c

Node Manager as Linux service and Weblogic server autorestart →

Pingback: Setting up Watches and Notifications in Weblogic Server | Oracle Fusion Middleware

Your email address will not be published.

Comment

Name

Website

Notify me of follow-up comments by email.

Notify me of new posts by email.

Dealing with Stuck Threads in WebLogic

Unable to start WLST: "Could Not Find or Load Main Class weblogic.WLST"

WebLogic AdminServer startup and shutdown scripts

How To Improve Weblogic Servers Startup Time

Cannot connect to Node Manager. : Access to domain for user 'weblogic' denied

Setting up Watches and Notifications in Weblogic Server

How to Extend the Filesystem of an Oracle Linux VirtualBox VM

Weblogic Domain Startup and Status check WLST scripts

Setting up SOA 11g XA Transaction Timeouts - General Rules and Recommendations

Have a WebLogic Domain Running in Minutes Using Docker