Receiving mails in Oracle using POP3
Hi,
Kindly let me know how to receive mails in Portal using POP3.
Thanks in advance.
Regards,
A.K.S.Srinivassan.
Hi,
The issue has been traced out!
In my case, the issue was because of some error in the SMTP server settings. It was not able to send mails to SAP. And I was hunting in SAP to trace the error
OSS note 455140 is really useful
Regards,
Saumya
Similar Messages
-
Dynamic attachment name with receiver mail adapter and use mail package
We need to send mapped XML payload as attachment (with dynamic name) to a recepient (recepient email id is part of input xml payload, but not part of the mapped XML payload).
I could probably do this using the adapter module (as per the following link),
http://wiki.sdn.sap.com/wiki/display/XI/Adapter%20Module%20PI%207.0%20Set%20Attachment%20Name?bc=true
I would like to explore if this would be feasible using Mail package and XI payload.I already have a Java mapping that is converting the input XML to required Output format. If I am using Mail package (XI Payload), how do I go about sending this Output XML from java mapping as attachment to email id available in the input payload?Hi,
1) XML payload as attachment (with dynamic name)
2) recipient (recipient email id is part of input xml payload, but not part of the mapped XML payload)
These two is possible by using Mail Package. You have a standard xsd for mail package which you can download from the SAP Note 748024.
The xml created in you java mapping which will be your attachment should be put into the <content> tag of the mail package xml structure. and the file name can be set in the <Content_Type> tag.
<?xml version="1.0"; encoding="UTF-8"?>
<p2:Mail xmlns:p2="http://sap.com/xi/XI/Mail/30">
<Subject>My Invoice</Subject>
<From>from email address<;/From>
<To>to email address</To>
<Content_Type>text/plain;name="MyFile.csv";</Content_Type> --> file name here
<Content>123;A49;aaa</Content> -> attachment xml here
</p2:Mail>
And you have to select MailPackage in the receiver mail adapter.
Regards,
Aravind -
Hello Mac' users
I have a problem with receiving e-mail, no problem sending. I am using iCloud, any suggestions please?? I did receive a message telling me that "Unable to receive mail Port ???? timed out".
Thanks to one and all
TonyCheck the "Cannot receive mail in OS X mail" section here:
http://support.apple.com/kb/TS4002 -
Hi
i am working in oracle 9i and linux 2.4 . i want to configure to receive the mail .
explian me with query..
Cheers..check out this thread
URGENT PLZ: IS THERE ANY WAY TO RECIEVE MAIL IN ORACLE DATABASE??? -
How to receive mutilple attachment files using pop3
i have problem to receive multiple attachment file.
how we can find out attachment in a forwarded messages.private void processMessage(Message message) throws MessagingException, IOException
Object obj = message.getContent() ;
String disposition = message.getDisposition() ;
if (disposition == null)
if (obj instanceof String)
System.out.println(obj.toString());
else if (obj instanceof Multipart)
processMultipart((Multipart) obj) ;
else if (obj instanceof InputStream)
processInputStream(message);
else if (obj instanceof InputStream || disposition.equals("inline") ||
disposition.endsWith("attachment"))
processInputStream( message) ;
else
System.out.println("Dont know the type " + obj) ;
private void processMultipart(Multipart multipart) throws
IOException, MessagingException
int count = multipart.getCount() ;
for (int j = 0 ; j < count ; j++)
BodyPart bodypart = multipart.getBodyPart(j) ;
String disposition = bodypart.getDisposition() ;
if (disposition == null)
Object ob = bodypart.getContent() ;
if (ob instanceof String)
System.out.println(obj.toString());
else if (ob instanceof Multipart)
processMultipart( (Multipart) ob) ;
else if (ob instanceof InputStream)
processInputStream(bodypart) ;
else if (ob instanceof Message)
processMessage((Message) ob) ;
else
System.out.println("Object type not found >> " + ob) ;
else if (disposition.equals("inline") || disposition.endsWith("attachment"))
processInputStream(bodypart) ;
else
System.out.println("No handling of Disposition type " + disposition) ;
private void processInputStream(BodyPart bodyPart) throws MessagingException, IOException
MimeBodyPart mbp = (MimeBodyPart) bodyPart ;
String name = mbp.getFileName() ;
if (name == null)
if (mbp.isMimeType("text/plain"))
name = "text.txt" ;
else if (mbp.isMimeType("text/html"))
name = "text.html" ;
else if (mbp.isMimeType("image/gif"))
name = "image.gif" ;
else if (mbp.isMimeType("image/jpeg"))
name = "image.jpeg" ;
else
name = "temp.tmp" ;
writeInFile(mbp.getInputStream(),name);
private void processInputStream(Message message) throws
MessagingException, IOException
MimeMessage mimeMessage = (MimeMessage) message ;
String name = mimeMessage.getFileName() ;
if (name == null)
if (mimeMessage.isMimeType("text/plain"))
name = "text.txt" ;
else if (mimeMessage.isMimeType("text/html"))
name = "text.html" ;
else if (mimeMessage.isMimeType("image/gif"))
name = "image.gif" ;
else if (mimeMessage.isMimeType("image/jpeg"))
name = "image.jpeg" ;
else
name = "temp.tmp" ;
writeInFile(mimeMessage.getInputStream(),name);
private void writeInFile(InputStream in,String name)
File file=new File(name);
FileOutputStream out=new FileOutputStream(file);
byte[] bytes = new byte[1024] ;
int i = -1 ;
while ( (i = in.read(bytes)) != -1)
out.write(bytes, 0, i) ;
in.close() ;
out.close() ;
} -
My i-pad 1 wont send or receive mail since i used virgin trains wi fi is there a fix please?
I can not connect to my internet provider for mail.Is there a fix please
I agree with Rudegar and I would simply emphasize that you double check your username and password and make sure that they are correct. You may have entered a capital letter or lower case letter that was incorrect.
Your e-mail provider must have FAQ or help site available for mail set up on the iPad. Look there for help. -
Cannot send mails via IMAP but can receive mails
HI All
Having Exchange 2010 SP2 on standalone box on W2K8R2-std sp1
We enabled IMAP and POP3 for our user base who do not have Outlook or are facing issues with active sync.
mailbox gets configured however none of mails are sent via IMAP they remain stuck in user outbox only.
They can receive mails but can't send. we tried configuring same users on Outlook and activesync and it worked.
We were surprised with some mis-configuration at IMAP end but could't get to root of it. Any idea what could be an issue????
for imap testing we tried Zimbra 7.2.3 on windows 7 pro, Windows Mail app in windows 8.1. IMAP in windows phone 8
Have enabled IMAP and pop3 logging but couldn't interpret it.
Cheers VPHi vp89,
Based on my knowledge, POP3 and IMAP cannot be used to send messages.
E-mail applications that use POP3 and IMAP4 to send messages rely on the SMTP protocol to send messages.
The connector for receiving e-mail submissions from client applications that use POP3 or IMAP4 is created automatically on every Hub Transport server.
We need a Send Connector.
More details in the following articles:
Understanding POP3 and IMAP4
http://technet.microsoft.com/en-us/library/bb124107(v=exchg.141).aspx
Create an SMTP Send Connector
http://technet.microsoft.com/en-us/library/aa997285(v=exchg.141).aspx
Hope it is helpful
Thanks
Mavis
Mavis Huang
TechNet Community Support -
How to identify received mail is failure delivery notice mail in javamail?
Hi friends,
My requirement is that i have to identify failure delivery notice mails while receiving mails through javamail api pop3..
Is there anyway to idenity those among normal mails?
luking forward ur replies dudes...If you search this forum you'll find some examples, including a simple modification
to the msgshow.java demo program to illustrate the basic use. And don't forget
to read the javadocs for the com.sun.mail.dsn package.
The basics are...
Check for a message of type "multipart/report" (isMimeType), fetch the content of
that message (getContent) and cast it to a MultipartReport object, then use the
methods of that object to extract the data and process it however you want. -
Variable Substitutionin Receiver Mail Adapter
Hi,
I am trying Receiver Mail Adapter without using Mail Package.
I want to set the To, From and the Subject dynamically from the payload.
How can this be done?
Thanks,
AravindVariable Substitutionin Receiver Mail Adapter
it happens in File adapter
I want to set the To, From and the Subject dynamically from the payload.
THeaderTO, THeaderFROM, THeaderSUBJECT....wont these ASMA work? -
Receive Mail using pop3s protocol
Hi All,
I am New to Java Mail.
How to Receive email using POP3 SSL, (pop3 protocol).
I could able to receive email using Non-SSL.
I dont know the procedure for using SSL.
What things are necessary to do this?
Is there sample program for this?
If anybody know this,Please let me know.
Thank you.
-Ravisankar.KThe answer is in the subject of this thread, use "pop3s" as the protocol name.
See the JavaMail FAQ for examples. -
Receive mail with POP3 and saving to file using XI
Hello! I'm new to XI, could you help me with this "simple" task: Receive mail with POP3 and saving to file.
Thanks!Hi,
you will need:
Mail Sender Adapter
http://help.sap.com/saphelp_nw04s/helpdata/en/23/c093409c663228e10000000a1550b0/frameset.htm
and File Receiver Adapter
http://help.sap.com/saphelp_nw04s/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/frameset.htm
Regards
Patrick -
HT5225 unable to send receive mail using Mail 2.1.3
Ever since iCloud took over, I am no longer able to send/receive mail using Mail 2.1.3 on my 10.4.11 version. I didn't think it would affect it. Someone please help as to how I can rectify the issue!
Hi,
Please review the following note:
Note: 371830.1 - Notification Mailer Does Not Start, Remains In Status Starting
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=371830.1
If the above does not help, I suggest you run "Workflow Diagnostics" test and see if it returns any error/warning messages.
Note: 274764.1 - Oracle Workflow Cartridge Workflow Java Mailer Setup Test
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=274764.1
Note: 378281.1 - How Does One Verify The Notification Mailer Is Functioning Properly?
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=378281.1
Regards,
Hussein -
BPEL 10.1.3.3 - Receiving Mail using MailService.wsdl not working
Hello Gurus,
We are having both 10.1.2 BPEL server and 10.1.3.3.
In 10.1.2 I could successfully use the mail read method as specified in Sample 117.ReceiveEmails. But when I do the same in 10.1.3.3 I am getting "java.lang.NullPointerException" (while it reads the mail from mail server).
The Surprise is the solution works fine in 10.1.2 but not in 10.1.3.3
(Note: even I couldn't find 117.ReceiveEmails sample in 10.1.3.3 samples directory).
The observation of mine is suppose If I didn't send any mail to the mail account, the service keep polling (based on specified polling interval). but once I send mail to the mail account, the process read the mail from mail server and ends with NullPointerException error. And as expected the mail gets deleted from mail server.
Please help me.
The Error:
Receive_1 (faulted)
[2007/09/06 17:07:58] Starting poll cycle for mail account "freecom-mail".
[2007/09/06 17:07:59] Received no message(s), continuing polling on mail account "freecom-mail".
[2007/09/06 17:08:14] Received no message(s), continuing polling on mail account "freecom-mail".
[2007/09/06 17:08:29] "NullPointerException" has been thrown.less
java.lang.NullPointerException
[2007/09/06 17:08:29] Received message(s) from mail account "freecom-mail", stopped polling cycle.
Mail configuration info:
freecom-mail.xml (mail account file placed in $ORACLE_HOME/bpel/domains/default/metadata/mailservice - I created the last two directories)
<mailAccount xmlns="http://services.oracle.com/bpel/mail/account">
<userInfo>
<displayName>******</displayName>
<organization>DubaiWorld</organization>
<replyTo>*****@****.ae</replyTo>
</userInfo>
<!-- IMAP server config -->
<incomingServer>
<protocol>imap</protocol>
<host>xxx.xxx.xxx</host>
<email>[email protected]</email>
<password>*********</password>
<folderName>Inbox</folderName>
</incomingServer>
</mailAccount>
Regards
Arun
Message was edited by:
arungoinAn additional information:
Sending Mail using MailService.WSDL is working fine, but we don't know why the receiving mail option fails.
Thanks
Arun -
How do I get my Ipad to send e-mails when I can receive them. I use comcast.net and all the settings are correct?
iOS: Unable to send or receive email
http://support.apple.com/kb/TS3899
Can’t Send Emails on iPad – Troubleshooting Steps
http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
Setting up and troubleshooting Mail
http://www.apple.com/support/ipad/assistant/mail/
Using a POP account with multiple devices
http://support.apple.com/kb/ht3228
iOS: Adding an email account
http://support.apple.com/kb/HT4810
iOS: Setting up an Outlook.com, Hotmail, Live, or MSN email account
http://support.apple.com/kb/ht1694
iPhone, iPad, iPod touch: Microsoft Outlook 2003, Outlook 2007, Outlook 2010 may not display contacts and calendars after sync
http://support.apple.com/kb/TS1944
Server does not allow relaying email error, fix
http://appletoolbox.com/2012/01/server-does-not-allow-relaying-email-error-fix/
Why Does My iPad Say “Cannot Connect to Server”?
http://www.ehow.co.uk/info_8693415_ipad-say-cannot-connect-server.html
How to Delete Email on the iPad
http://ipad.about.com/od/iPad_Guide/ss/How-To-Delete-Email-On-The-Ipad.htm
How to Mass Delete Emails from iPhone and iPad Inbox (with video)
http://suiteminute.com/how-to-mass-delete-emails-from-iphone-and-ipad-inbox/
How to add, send and open iPad email attachments
http://www.iskysoft.com/apple-ipad/ipad-email-attachments.html
How to Sync Contacts with Your iPad Using iTunes
http://www.dummies.com/how-to/content/how-to-sync-contacts-with-your-ipad-using- itunes.html
iOS: ‘Mailbox Locked’, account is in use on another device, or prompt to re-enter POP3 password
http://support.apple.com/kb/ts2621
iCloud: Create a group and add contacts to it
http://support.apple.com/kb/PH2667
eMail Groups - You can use a third party app that many users recommend.
MailShot - https://itunes.apple.com/us/app/mailshot-pro-group-email-done/id445996226?mt=8
Group Email - https://itunes.apple.com/us/app/mailshot-pro-group-email-done/id445996226?mt=8
iPad Mail
http://www.apple.com/support/ipad/mail/
Configuration problems with IMAP e-mail on iOS with a non-standard SSL port.
http://colinrobbins.me/2013/02/09/configuration-problems-with-imap-e-mail-on-ios -with-a-non-standard-ssl-port/
Try this first - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
Or this - Delete the account in Mail and then set it up again. Settings->Mail, Contacts, Calendars -> Accounts Tap on the Account, then on the red button that says Remove Account.
Cheers, Tom -
Can't send email from my personal pop3 account via my S5. Receives mail fine.
Hi,
I have an S5 that I use to receive email from my personal email account (supplied by Primelink). I can receive email fine, but can't send anything. My SMTP server is mail.wgtest.com using port 465. I am using K9 mail as my email app.
I was told by Primelink that it's a Verizon Wireless issue. Is there any way to respond to my emails from my phone? I can send via my hotmail account, but then my hotmail sent message folder gets filled up and the reply to address always shows up as my hotmail address, not the wgtest.com address.
How can I fix this problem?
Thanks in advance!
Spectre55Thanks for the reply.
I have tried using three different email apps and keep getting the message that it can't connect to the server. I'm using the smtp address of mail.wgtest.com. As I said, I can receive fine, but Primelink told me that Verizon won't let me send from my primelink account through their system. They said I may have to use an smtp relaying service, which I've never heard of.
Maybe you are looking for
-
Issue of Free Sampling to the customewith Excise duty[Paid by the Company]
Dear All For free sample with no commercial value the user want to raise invoice for plant on which excise duty is to be paid.In this senerio excise duty is to be born by company only no recovery from the customer. I dont think it is possible in no
-
When exporting my Indesign Layout with Images, the images disappear ?
When exporting my indesign layout the images disappear once exporting as a PDF print. I have had several information bubbles appear claiming I need to alter my blend space due or colour settings ? I have altered the blend space to rgb and still it do
-
ES11X-G4-H essbase export adapter issue
Hello, i have this problem with essbase export adapter for FDM: When i perform export step everything seems to be fine but /APPS/myFdmApp/myFile.dat doesn't contain records that i can find with both on web interface and with a query on oracle fdm's s
-
Import time machine email backup into archive
I am in the process of switching my internet domains. And when I did this, I had to delete my email accounts on my old host. I stupidly thought that the old email would remain in my mac inbox when I switched. When I did so, because I am using imap, m
-
I need help with "Premiere CC"!
Hello my name is Alexander! I have problems with "Premiere CC"! -> I have two different *.mov-files and I can not place these two individual movie clips after another. How do you do it? (I have created a project!) -> It is not so good sound quality w