UCM SMTP server Configuration
Need help configuring UCM 10gR2 to send emails with godaddy smtp mail server as follows in config.cfg:
MailServer=smtpout.secureserver.net
SysAdminAddress=[email protected]
SmtpPort=25
SmtpPassword=xxxxxx
SmtpAuth=true
HttpRelativeWebRoot=/idc/
HttpRelativeCgiRoot=/idc/
CgiFileName=idcplg
UseSSL=Yes
WebProxyAdminServer=true
Result is:
Caused by: java.lang.Exception: !csSMTPInvalidMessage,"System Administrator" <[email protected]>!csSMTPUnableToFindRecipients,1 at intradoc.common.SmtpClient.writeMultiMsg(SmtpClient.java:582) at intradoc.common.SmtpClient.sendMail(SmtpClient.java:354) ... 22 more
Caused by: java.lang.Exception: !csSMTPResponseIndicatesFailure,553 Sorry\, that domain isn't in my list of allowed rcpthosts. at intradoc.common.SmtpClient.writeMsg(SmtpClient.java:543) at intradoc.common.SmtpClient.writeMultiMsg(SmtpClient.java:567) ... 23 more
Edited by: user13081106 on May 27, 2010 7:37 AM
I think you will find that the SMTP connection is working but the SMTP server is returning a 553 error code back to UCM.
Normally this would mean an authentication issue or a domain issue.
I have connected manually to the smtp server you are using and it does not support sending of emails for anonymous users.
I am not aware that UCM supports authentication of the SMTP connections so I think you have two options
1)Write java code to manage authenticated connection to the smtp server
2)see if you can configure a local smtp server that could relay messages to internet
Tim
Similar Messages
-
Error in SMTP server configuration 11gR2
Hi Expertes,
I have done the below steps for configurting the notification.
1. Created an IT resource of type mail server.
2. Provided the SMTP server name in the IT Resource.
3. Modified the system configuration and set the XL.MailServer as the newly created IT resource.
4. Logged in to em console.
5.Disabled UMSEmailNotificationProviderMBean and enabled EmailNotificationProviderMBean
6. Add mailservername in EmailNotificationProvider
But mails are not getting triggered on password reset by admin and the following error is thrown in the logs:
Error sending notifications oracle.security.am.common.exceptions.NAPException: Server reported that incorrect NAP version is being used.Error sending notifications oracle.security.am.common.exceptions.NAPException: Server reported that incorrect NAP version is being used.
Thanks in advanceHi,
I am new to this field.
Kindly bear with me & guide me how to verify the password in SM59.
I went there,but not sure of it.Please let me know.
Regards,
john. -
If you see the last command line that saying queued for delivery. what are the causes for this.
Please tell me its urgent.
-thanks
SwapnilHello Swapnil,
Navigate to your queue folder and refresh it.
If problem still persists, kindly restart your SMTP server.
-Hatim -
I can't send a message through my SMTP-server when i configured it IMAP
Hi,
When I configure my email account as POP3 I don't get the send and drafts maps. So I configured it as IMAP but now when i try to send an email I get the notice that the message can't be send through my SMTP server configuration.
Hope somebody can help me out,
Thanks,
StevenReconfigure your SMTP manually
*https://support.mozilla.org/en-US/kb/manual-account-configuration
Make sure about URL and Port No, when configuring the SMTP
Which email server are you using?
*Google/Yahoo/Outlook? -
How can we map a file in the recepents file in smtp server
hai all,
how can we map a file to teh recipents file in smtp server configuration.
because i didnt hard code the email id there so i has to kept any file or any variable so can any one help me out.
thanks,
RajeshHi There
You can try to use SSIS expressions in your DTSX package which reads the values from the file and then populates the recipient field. This would require some script tasks to read the data and then populate the variables used in the SSIS expression.
[https://www.google.com/search?sclient=psy-ab&hl=en&safe=off&site=&source=hp&q=ssisexpressions&btnK=GoogleSearch#sclient=psy-ab&hl=en&safe=off&source=hp&q=sqlssisexpressions&oq=sqlssis+expressions&aq=f&aqi=&aql=&gs_sm=e&gs_upl=9137l9524l0l9847l4l3l0l0l0l1l522l522l5-1l1l0&bav=on.2,or.r_gc.r_pw.r_cp.,cf.osb&fp=67c17c5b88ef2530&biw=1440&bih=799]
It could be easier to configure a distribution list on your exchange server or domino server, and then send an email to the distribution list email address. Then you could manage the recipients from the mail server.
Another way to achieve this, is to put a prompt in the data manager package to pass the recipient email addresses, and then pass that value to script logic. In the script logic it would call a stored procedure with the dynamic input and send the mail.
[http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/d01ce779-f1b2-2b10-07ba-da3734013245]
You could use the SMTP relay functions from SQL server.
There are various options available. each option has pro's and con's you will need to decide which is better and easier to manage.
I hope this helps.
kind Regards
Daniel -
Lync 2013 Web Scheduler SMTP Server for invitations - non-exchange env
We cannot get the Lync 2013 Web Scheduler to send email invites to anyone even after configuring the SMTP server for both the external and internal sites on our one and only front-end (we did the super simple same box install for testing
purposes). Yes we have done an IISReset;) Has the SMTP server configuration process for the now built-in Lync 2013 Web Scheduler changed since the add-on Lync 2010 Web Scheduler?
BTW, unless we haven't search for the right phrase(s), it seems there is ZERO documentation about configuring this for 2013 - only for 2010.
HELP!!!Hi,
You can refer to this blog Lync web scheduler without Exchange:
http://blog.lyncfreak.com/2011/11/02/lync-web-scheduler-without-exchange/
Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make
sure that you completely understand the risk before retrieving any suggestions from the above link.
Kent Huang
TechNet Community Support -
How to get default SMTP server name
Hi,
I want to know the name default SMTP server configured in machine. How i can get this through my java code.
Help me on thisYou can find STMP server configured in hostname, in ask to dns of domain who is mailserver, you need to find MX records :
- look a DNS config : NS (name server) , CNAME (Alias) , MX (mailexchange) etc...
import java.util.ArrayList;
import java.util.Hashtable;
import javax.naming.*;
import javax.naming.directory.*;
public class MXLookup
public static void main(String args[]) throws NamingException
System.out.println(getMX("altern.org") + " mail servers");
private static ArrayList getMX(String hostName) throws NamingException
// Perform a DNS lookup for MX records in the domain
Hashtable env = new Hashtable();
env.put("java.naming.factory.initial", "com.sun.jndi.dns.DnsContextFactory");
DirContext ictx = new InitialDirContext(env);
Attributes attrs = ictx.getAttributes(hostName, new String[] { "MX" });
Attribute attr = attrs.get("MX");
// if we don't have an MX record, try the machine itself
if ((attr == null) || (attr.size() == 0))
attrs = ictx.getAttributes(hostName, new String[] { "A" });
attr = attrs.get("A");
if (attr == null) throw new NamingException("No match for name '" + hostName + "'");
ArrayList res = new ArrayList();
NamingEnumeration en = attr.getAll();
while (en.hasMore())
String x = (String) en.next();
String f[] = x.split(" ");
if (f[1].endsWith(".")) f[1] = f[1].substring(0, (f[1].length() - 1));
res.add(f[1]);
return res;
} -
Configuration error when saving SMTP server
I am configuring CUP 5.3 (SP06). When I put in our SMTP server, I get the following error:
" Action failed. An unknown error occurred while performing the operation. "
It looks like this screen was changed with SP06. I am not filling out anything under "Enter Email Notification Sender" or under "Application URL" (which seems to be new fields).
Here is what the log says:
2009-03-18 16:23:39,339 [SAPEngine_Application_Thread[impl:3]_39] ERROR com.virsa.ae.configuration.actions.SMTPServerNameAction
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1444)
at com.virsa.ae.commons.utils.URLHelper.initialize(URLHelper.java:430)
at com.virsa.ae.configuration.bo.SMTPServerNameBO.saveSMTPServerName(SMTPServerNameBO.java:106)
at com.virsa.ae.configuration.actions.SMTPServerNameAction.saveSMTPServerName(SMTPServerNameAction.java:76)
at com.virsa.ae.configuration.actions.SMTPServerNameAction.execute(SMTPServerNameAction.java:51)
at com.virsa.ae.commons.utils.framework.NavigationEngine.execute(NavigationEngine.java:271)
at com.virsa.ae.commons.utils.framework.servlet.AEFrameworkServlet.service(AEFrameworkServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
Thank you for your help.Hi Peggy,
This is a known bug in AC 5.3 SP6. SAP has added fields for administrator email address, application URL and redirection URL. Even though application URL and redirection URL do not show up as manadatory fields but they are required to save the configuration. To get pass through this error, just provide anything in those 2 textboxes with some dummy email address in administrator email address textbox. You should be able to save it now.
This is being fixed in SP7 which should release somewhere around end of March.
Please check this similar thread:
CUP SMTP server error
Regards,
Alpesh -
How to configure the smtp server..
i had an error when running the java mail program..
this is my program
import javax.mail.*;
import javax.mail.internet.*;
import javax.activation.*;
import java.io.*;
import java.util.Properties;
public class MailClient
public void sendMail(String mailServer, String from, String to,
String subject, String messageBody,
String[] attachments) throws
MessagingException, AddressException
// Setup mail server
Properties props = System.getProperties();
props.put("mail.smtp.host", mailServer);
// Get a mail session
Session session = Session.getDefaultInstance(props, null);
// Define a new mail message
Message message = new MimeMessage(session);
message.setFrom(new InternetAddress(from));
message.addRecipient(Message.RecipientType.TO, new InternetAddress(to));
message.setSubject(subject);
// Create a message part to represent the body text
BodyPart messageBodyPart = new MimeBodyPart();
messageBodyPart.setText(messageBody);
//use a MimeMultipart as we need to handle the file attachments
Multipart multipart = new MimeMultipart();
//add the message body to the mime message
multipart.addBodyPart(messageBodyPart);
// add any file attachments to the message
// addAtachments(attachments, multipart);
// Put all message parts in the message
message.setContent(multipart);
// Send the message
Transport.send(message);
protected void addAtachments(String[] attachments, Multipart multipart)
throws MessagingException, AddressException
for(int i = 0; i<= attachments.length -1; i++)
String filename = attachments;
MimeBodyPart attachmentBodyPart = new MimeBodyPart();
//use a JAF FileDataSource as it does MIME type detection
DataSource source = new FileDataSource(filename);
attachmentBodyPart.setDataHandler(new DataHandler(source));
//assume that the filename you want to send is the same as the
//actual file name - could alter this to remove the file path
attachmentBodyPart.setFileName(filename);
//add the attachment
multipart.addBodyPart(attachmentBodyPart);
public static void main(String[] args)
try
MailClient client = new MailClient();
String server="smtp.canvasindia.com";
String from="[email protected]";
String to = "[email protected]";
String subject="Test";
String message="Testing";
String[] filenames ={"c:/A.java"};
client.sendMail(server,from,to,subject,message,filenames);
catch(Exception e)
e.printStackTrace(System.out);
the error is .................
javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
com.sun.mail.smtp.SMTPAddressFailedException: 553 Attack detected from p
ool 59.144.8.116. <http://unblock.secureserver.net/?ip=59.144.8.*>
at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1196)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:584)
at javax.mail.Transport.send0(Transport.java:169)
at javax.mail.Transport.send(Transport.java:98)
at MailClient.sendMail(MailClient.java:47)
at MailClient.main(MailClient.java:84)
Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 553 Attack detected fro
m pool 59.144.8.116. <http://unblock.secureserver.net/?ip=59.144.8.*>
at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1047)
... 5 more
how to configure the smtp server in my machine..
please guide me...This uses gmail account, and gmail smtp
* MailSender.java
* Created on 14 November 2006, 17:07
* This class is used to send mails to other users
package jmailer;
* @author Abubakar Gurnah
import javax.mail.*;
import javax.mail.internet.*;
import java.util.*;
public class MailSender{
private String d_email,d_password;
* This example is for gmail, you can use any smtp server
* @param d_email --> your gmail account e.g. [email protected]
* @param d_password --> your gmail password
* @param d_host --> smtp.gmail.com
* @param d_port --> 465
* @param m_to --> [email protected]
* @param m_subject --> Subject of the message
* @param m_text --> The main message body
public String send(String d_email,String d_password,String d_host,String d_port,
String m_from,String m_to,String m_subject,String m_text ) {
this.d_email=d_email;
this.d_password=d_password;
Properties props = new Properties();
props.put("mail.smtp.user", d_email);
props.put("mail.smtp.host", d_host);
props.put("mail.smtp.port", d_port);
props.put("mail.smtp.starttls.enable","true");
props.put("mail.smtp.auth", "true");
//props.put("mail.smtp.debug", "true");
props.put("mail.smtp.socketFactory.port", d_port);
props.put("mail.smtp.socketFactory.class", "javax.net.ssl.SSLSocketFactory");
props.put("mail.smtp.socketFactory.fallback", "false");
SecurityManager security = System.getSecurityManager();
try {
Authenticator auth = new SMTPAuthenticator();
Session session = Session.getInstance(props, auth);
//session.setDebug(true);
MimeMessage msg = new MimeMessage(session);
msg.setText(m_text);
msg.setSubject(m_subject);
msg.setFrom(new InternetAddress(m_from));
msg.addRecipient(Message.RecipientType.TO, new InternetAddress(m_to));
Transport.send(msg);
return "Successful";
} catch (Exception mex) {
mex.printStackTrace();
return "Fail";
//public static void main(String[] args) {
// MailSender blah = new MailSender();
private class SMTPAuthenticator extends javax.mail.Authenticator {
public PasswordAuthentication getPasswordAuthentication() {
return new PasswordAuthentication(d_email, d_password);
} -
How to Configure internet channel to a relay SMTP server
Hi men,
My problem is How to Configure internet channel(or outbound mail) sending to a relay SMTP server. I want to test my spam software.
I have search and read Sun Messaging Administration document but haven't fought the guide.
./imsimta version
Sun Java(tm) System Messaging Server 7.0-0.04 32bit (built Jun 20 2008)
Thank and Regards,
Duc Tien.tien86 wrote:
My problem is How to Configure internet channel(or outbound mail) sending to a relay SMTP server. I want to test my spam software. You can use the daemon channel keyword with the tcp_local channel e.g.
! tcp_local
tcp_local smtp nomx multiple remotehost inner switchchannel identnonenumeric \
pool SMTP_POOL maytlsserver maysaslserver saslswitchchannel tcp_auth loopcheck \
daemon relay.yourdomain.com
tcp-daemonIf the relay SMTP server only has an A record then use "nomx" instead of "mx".
http://msg.wikidoc.info/index.php/Mx%2C_nomx%2C_nodns%2C_defaultmx%2C_randommx%2C_nonrandommx%2C_nameservers%2C_defaultnameservers_Channel_Options
The "multiple" keyword instead of "single_sys" helps performance by increasing the number of emails per connection when sending to a relay system.
http://msg.wikidoc.info/index.php/Multiple%2C_addrsperfile%2C_single%2C_single_sys_Channel_Options
Regards,
Shane. -
How to configure SMTP server in OSB eclipse platform
how to configure the SMTP server in OSB eclipse platform......
secondly.................the output email shud contain message sent and not the overview of the mail how do i do itHow to configure the server? That depends on what server it is. If you are the administrator I would suggest finding the help file for the server and searching for the term "relaying". However I hope you are not, and can ask the real administrator.
-
Configure SMTP server in Essbase 11.1.2.1 for scheduling financial reports
Hi,
While scheduling the FR reports, I need to send the status mail. But I am not able to add smtp server in frconfig.cmd MBeans as the writable option is "false". Tried to change this option to "true" but it is not changing.
It will be great if you could provide any solution to add smtp server details here?
Thanks,
DinishIt can also be configured in the EPM configurator under common components.
Cheers
John
http://john-goodwin.blogspot.com/ -
Hi everybody
I can´t configure configure my SMTP Server to send workflow notifications. I´ve try both protocols SSL and TLS. These are my properties:
futuretense.ini:cs.emailauthenticator=com.openmarket.framework.mail.ICSAuthenticator
futuretense.ini:cs.emailcontenttype=
futuretense.ini:cs.emailhost=smtp.gmail.com\:465 or tls://smtp.gmail.com\:587
futuretense.ini:cs.emailaccount=[email protected]
futuretense.ini:cs.emailpassword=dummy123
futuretense.ini:cs.emailcharset=
futuretense.ini:cs.emailreturnto=
The error is:
(with SSL)
[fatwire.logging.cs.xml] Error: mail.send failed! Message exception sending mail Sending failed;
nested exception is:
javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465
(with TLS)
[fatwire.logging.cs.xml] Error: mail.send failed! Message exception sending mail Sending failed;
nested exception is:
javax.mail.MessagingException: 530 5.7.0 Must issue a STARTTLS command first. ww4sm18327270wjc.47 - gsmtpHi,
I experienced a similar issue. It seems only standard SMTP is supported as of now. Oracle's workaround they offered me is to use a standard SMTP to forward mails to the required SMTP. I was testing stuff so I went for a mock SMTP server (although I don't think that is what you are looking for).
Best regards,
Pedro -
How to configure sap to use gmail as smtp server?
Hi experts,
I need to know how to configure gmail as my smtp server. In the scot transaction I don't see anywhere where to specify whether it is a ssh connection, ports for secure smtp, username, password.
Does anyone know how to configure sap to use gmail as the smtp server?
I've seen some similar threads about this, but they are of no help. Although they are classified as answered, in most cases the reason they are answered is because the person who made the query dropped the cause trying to make it work. I'd like to know for sure is this is possible or not.Hi Camilo,
You can't set up gmail as your smtp server to handle this. gmail is an email server which generally are based on POP protocol. now for SAP to send mail to gmail, you would need one SMTP capable server which can relay those message received from SAP to configured email address.
As of WAS 6.10 SAP kernel supports SMTP without more components. i.e e-mails can be sent (or received) from the SAP system to each SMTP-compatible mail server. see SAP note 455140 for more details.
Hope this clarifies your doubt.
http://en.wikipedia.org/wiki/SMTP_server
Regards,
Debasis. -
JavaMail configuration with gmail as SMTP server
Hello,
I am trying to implement component based alerting in our new SAP PO 7.31 landscape. I have configured the steps according to the blog of Michel the necessary steps.
I am planning to use GMAIL SMTP server and hence trying to configure the parameters for the same. However in the Java Schduler Logs i could see exception TLS excpetion.
I tried configuring mail.smtp.host as smtp.gmail.com with my gmail credentials. Also i tried giving mail.smtps.host as smtp.gmail.com but no luck.
Please let me know incase anyone had implemented this scenario. Also please let me know whether it is possible to get the WSDL of the CMBA alert that gets raised.
Thanks in advance.
RegardsHi Ameet,
We have it running on your PI systems. Please see the links below. Would suggest downloading Hermes and monitoring the error messages on the JMS queue.
PI Alerting on AAE/AEX
Customize E-Mail Body and Subject in Alerts in SAP PI 7.31 – Java Stack Only – Part 1 – ESR
How to send Alerts using UDF or JAVA Mapping
Customize Alerts Using Job in PI 7.31/PO
Regards
Jannus Botha
Maybe you are looking for
-
Searching DI API Property for column text in marketing document
Hi, I am searching the property for entering information into the column rdr1.text. I found the following information in the help file: ItemDetails Sets or returns the item details in the marketing document line. Field name: Text. Length: 16 characte
-
Using DBLINK in ABAP to retreive data from externam system
Hi All, Please help me, if anyone knows the answer. The basis team has created a dblink 'DBL_TEST.YY.XXX.COM'. Now I have to fetch data from another non-sap external system using this dblink only. Cannot have any entry in DBCON. I know the procedure
-
HT4623 ios 6 is corrupt on my phone how do I restore
I uploaded ios 6.1 and now my phone is not working. I can't connect to iTunes and I am not getting any push notifications. My logon information for apps are not being saved. How do I reinstall ios 6.1
-
I purchased FCPX via itunes in 2011, I need to reinstall, but the purchase is no longer listed in itunes purchases, any suggestions
-
Hi Experts, Do we have any bussiness packages for using Dashboards in Portal, how do we create dashboards in portal, any help on this dashboards. thanks, Vijai