GMail account in Mail Receiver Adapter
Guys,
I'm trying to configure a gmail account in mail receiver adapter. Checking in the internet, I've found the smtp server information:
Address: smtp.gmail.com
Port: 587
Security: TLS
So I set the address in receiver mail adapter as smtps://smtp.gmail.com:587/. I'm using smtps:// as sugested in SAP Note 856599, to use SSL encryption in the SMTP server. However, it doesn't say anything about TLS encryption.
Though the audit log of the message in the adapter engine in Message Monitoring has status Successful (meaning it succesfully connected to the mail server), I never got the e-mails.
Any sugestions?
Regards,
Henrique.
Guys,
I tried this scenario again and was even able to make the message reach Gmail SMTP server (using port 465).
However, even though I'm able to receive the message at receiver e-mail, I'm having an error message logged in audit log, and thus the message is set to retry. I think it is due to some SSL/TLS incompatibility.
The error message is "<b>failed to send mail: iaik.security.ssl.SSLException: Record version mismatch: 32:31</b>"
Has anyone seen this before?
Regards,
Henrique.
Similar Messages
-
Having problem with gmail smtp outgoing server. Since going to google 2-step, and entering 16-digit code in gmail account, I can receive mail on my iMac, but cannot send. I keep getting an error message that Mail "Cannot send message using Gmail (my assigned name) server." What do I do?
Confirm you did this: https://support.google.com/mail/answer/1173270?hl=en
You might also try removing all gmail passwords from your keychain in Keychain Access. Then connect again and enter the password code given by Google. -
Recently installed Mavericks. Now when I send an email with picture attachment it is received by my gmail account but not received by applel mail. What gives?
Hi Bigt101,
It will be great, if you can provide me with the following info.
which Model printer are you using.
Are you registered to the e-print center.
What email client are you using.
Thanks
Josh.C
Click on the BLUE KUDOS button on the left to say "Thanks"
Although I am an HP employee, I am speaking for myself and not for HP. -
Unable to create new email from Gmail account in Mail
I just installed gmail to retrieve messages within Mail: I can receive gmail messages and reply to gmail from Mail. However, I cannot create and send a new message in Mail using my gmail account; when I do I get the following error message:
Enter Password for Account
smtp.gmail.com:xxxx[account name]
The SMTP server "smtp.gmail.com" rejected the password for user "xxx[account name]"
Please re-enter your password, or cancel.
No matter how many times I add it correctly and click OK, the same message returns.Google provides instructions for setting up a Gmail
account in Mail here:
http://mail.google.com/support/bin/answer.py?answer=13
275
Make sure you’ve set up the account as described
there.
That is what I used to set up my gmail account in Apples Mail App before your post. Those instructions say that when you click on the Advanced Tab that the port will switch to 995 - which it did for me. I do have a minor problem though. Is there any way to prevent emails sent from Mail via gmail from showing up in gmails web page? I don't really like web mail whatsoever!
24" iMac 2.16 Intel 2G Memory Mac OS X (10.4.9) Parallels Desktop w/Windows Vista Ultimate
24" iMac 2.16 Intel 2G Memory Mac OS X (10.4.9) Parallels Desktop w/Windows Vista Ultimate -
HT201320 I need help recreating a Gmail account on "Mail" on ipad
today out of a sudden, my already set up and running Gmail account through "mail" on my ipad suddenly stopped sending and receiving mail. i tried deleting and recreating the account but now i get prompted with a message :"Cannot Connect Using SSL", what i
Thanks for the support. However, I would like to point out that I was using the exact steps yesterday but for some reason I was being prompted that I cant connect to the SSL server today it worked.
thanks -
Hi,
I have an POP Gmail account in Mail.app (2.1.3), that suddenly stopped downloading the e-mails. No settings changed (nor in Mail, nor in Gmail), and e-mail sending works fine. Other accounts (including other Gmail accounts) present no problems.
How can I solve this? I don't want to change for IMAP, nor do I want to have to dowload the over 2Gigs of e-mails again, having to mark hundreds of mails with flags or read/not read signs…
Thanks!I'm sorry, I didn't explain myself correctly...
I have over 50 new messages on the account that I can only see via HTML. On Mail Account Info I can see all the messages that have already been downloaded, plus one that appears as received today, but that isn't nor on mail nor in HTML (with unknown sender)
Could it be that this message has an invalid date or is otherwise malformed and
that’s why webmail doesn’t display it where you’d expect it to be? Have you
tried searching for it using words that appear in the subject?
It may be, but now I ran the Account info, and the message that appeared before with unknown sender and wasn't in either HTML nor Mail, being the last message displayed the last one downloaded (and missing the other new over-50 messages).
I've tried deleting the last one downloaded from the server (using Account Info), and it unlocked the other "pending" messages! Problem seems solved!! =)
Sometimes Mail chokes on a message it cannot download and that prevents it from
downloading the rest as well. Solving this problem may require removing the
problematic message from the server, but I don’t think you’ll be able to do
that if you cannot even see the message via webmail. If this was a normal POP
account, you’d probably be able to remove the message from the server using
Mail’s Account Info window, but Gmail ignores any requests to remove messages
from the server made by a POP client...
I guess you were right! But indeed I was able to use Account Info to delete the message!
Sure you don’t see there all the messages on the server that have already been
downloaded, do you? What’s the date of the messages that do show up in Mail’s
Account Info window?
I could actually see all the messages that had been downloaded! Dates from 2004 until the last received message (from about a week ago).
Also, first you say “On Account Info, there is only one message sent today that
isn't downloaded”, and now you say “All the messages displayed appear as
already downloaded”. These statements cannot both be true, can they?
It was true, because the above mentioned "unknown sender" message appeared as downloaded, but it didn't exist anywhere..! And now it's completely gone, including from "Account Info".
Anyway, the key was in that choke in the last message! The tip was right, thank you for the help, and congratulations for the accuracy! =)
Hope I can help you the next time! Greetings! -
how can i delete my gmail account from mail and add aol, how can i delete my gmail account from mail and add aol, how can i delete my gmail account from mail and add aol
Welcome to the Apple Support Communities
To delete a mail account in Mail, open Mail, and go to Mail menu > Preferences > Accounts. Then, select the account you want to remove and press the - button.
Then, press the + button to add the AOL mail account -
Query on Mail Receiver Adapter
Hello Experts,
I am using Asyn Proxy to Mail Scenario.
Mail receiver adapter generating the Mail with Excel file attachment by using the following details.
R3 coding (Proxy calling code):-
G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-FROM = From Mail ID.
G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-TO = To Mail ID
G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-SUBJECT = 'Alert Mail'.
G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-DATE = SY-DATUM.
G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-CONTENT_TYPE = 'application/vnd.ms-excel;name="filename.CSV"'.
G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-CONTENT = 'Field1,Field2,Field3'.
G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-CONTENT_DISPOSITION = 'attachment'.
ID COnfiguration:-
-->Selected the Use Mail Package & Content Encoding = base64
-->Selected the Keep Attachment option.
I have two questions as mentioned below.
(1)Can i generate the Mail BODY and Excel file attachment both together in a single mail?
(2)With this same IR & ID Objects can i generate only Mail body without any attachment (i.e.
by changing the Content_Type in R/3 coding) ?
Please suggest.
Thanks & Regards
JageshHi Michal,
Thanks for ur reply.
I referred your Blog /people/michal.krawczyk2/blog/2006/04/19/xi-rfc-or-abap-proxy-abap-proxies-with-attachments for genreating the
Mail With attachment and Content together.
but when I select the option KEEP ATTACHMENT in the Mail Receiver Adapter and sending only the Content data without any attachment coding as shown in this Blog then also i am getitng attachment(.txt) file and no mail content. In this case i have used the following R/3 coding.
G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-FROM = From Mail ID.
G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-TO = To Mail ID.
G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-SUBJECT = 'subject'.
G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-DATE = SY-DATUM.
G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-CONTENT = 'How are u? This is Mail Content'.
Calling the Proxy method.
Important:- with this same coding if i deselct the KEEP ATTACHMENT option in ID then i am geeting
Mail Content properly.
So i think i have to use different communication chaneel one for the Excel file attachment and second for the Mail content.
Please suggest me if i am wrong.
Regards,
Jagesh -
Hi,
We have a mail receiver adapter which is sending out a edi payload as attachment to the external receiver.
When we send the normal .edi file it is ok.
But when we sign and encrypt the payload and send it out, the external customer receiver decrypts and validates the message successfully but when their application tries to read the edi payload it finds the extra header lines as below :
content-id:
<[email protected]>
Content-Disposition: attachment; filename=xxxxxxxx.edi Content-Type:
application/xml
At their end, their application (DataPower) expects the first three characters of the payload
(decrypted payload) to be either UNA or UNB.This is how it validates whether the incoming message is an EDI message.
But it encounters the extra MIME headers in the payload.
Therefore it gets rejected by DataPower which thinks the content is an
unknown message type.
How to suppress the header lines appearing in the payload(after decryption and validation).
Thanks,
Guesthi,
try content-type as "text/xml" -
How to attach Excel file in Mail Receiver Adapter?
Hello Experts,
In R/3 coding I have Internal Table data available for which i have to generate an Alert mail with Excel file attachment.
This is the scenario of Proxy sender to Mail Receiver. but I don't know how to convert the Internal Table data into Alert mail excel File attachment.
Please suggest me.
Regards,
JageshHi Santhosh,
Thanks for your suggestion.
But without using XSLT mapping also, I have generated the Excel File attachment.
Throgh R/3 coding I am passing following.
G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-FROM = From Mail Address.
G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-TO = TO Mail Address.
G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-SUBJECT = 'Test Alert mail'.
G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-DATE = SY-DATUM.
G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-CONTENT_TYPE = 'text/plain;name="CSV_data.csv"'.
G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-CONTENT = 'Testing1,Testing2,Testing3'.
G_ALERT_INPUT-MT_R3REQUEST_MAIL_SEND-MAIL-CONTENT_DISPOSITION = 'attachment'.
And in the Mail Receiver Adapter i have configured as following.
Use Mail package and Keep Attachment both options are selectd.
So I am getting the data in different columns in the excel file But How to set the Next ROW in Excel file?
I thnk i am missing something in CONTENT value.
Regards
Jagesh -
Mail receiver adapter: THeaderREPLY-TO not working on ASMA
Hello people,
(note: all the @ where changed by " at " because of limitations of SDN)
I'm trying to set some adapter specific message attributes (ASMA) in a mail receiver adapter.
Two properties I'm trying to set: THeaderFROM e THeaderREPLY-TO.
The first one is working great, the second one does not work.
My scenario is Soap to Mail. I send a soap message, in the message mapping a user defined function get the mail address (to and reply-to) and set it with DinamicConfiguration like this (hard coded to be simple):
DynamicConfiguration conf = (DynamicConfiguration)container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/Mail", "THeaderREPLY-TO");
conf.put(key, "reply.to at teste.com";);
DynamicConfigurationKey from = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/Mail", "THeaderFROM");
conf.put(from, "from at teste.com";);
As in the documentation, it should work. But the mail message reaches the mailbox with mime header Return-Path = from at teste.com.
Reading all the notes related to mail adapter (and adapter module processing) I found the tool TCPGateway to monitor what is going from adapter engine to the mail server. So I changed a little the scenario to test it and now the scenario is Soap->TCPGateway->MailServer. In the TCPGateway I got this:
EHLO brjgs916.weg.net
MAIL FROM:<from at teste.com>;
RCPT TO:<roberti at mycompany.net>;
DATA
Date: Thu, 5 May 2011 19:55:17 -0000
Subject: mail - teste
To: roberti at mycompany.net
From: from at teste.com
MIME-Version: 1.0
content-id: payload-98c5c8b0775111e090110018714e4a28 at sap.com
Content-Type: text/xml;charset=utf-8
Content-Disposition: attachment;filename="Untitled.xml";
Content-Transfer-Encoding: binary
<?xml version="1.0"; encoding="UTF-8"?>
<ns0:MTP_SAMPLE_MAIL_MESSAGE xmlns:ns0="http://soa.weg.net/sampleMail"><Title>titulo</Title><Body>body a ser preenchido</Body><Footer>footer tambem</Footer></ns0:MTP_SAMPLE_MAIL_MESSAGE>.
QUIT
With this information, I found that something is not right in the mail adapter, because it is not writing the relevant reply-to attributes to the mail message.
Some of you has any idea about it?
Thank you in advance.
waldemar roberti
Edited by: Waldemar Roberti on May 5, 2011 5:02 PMSatish,
Actually (for testing purposes) I have the email roberti at mycompany.com set in all fields of receiver mail adapter mail attributes (from, to, cc and bcc). I turned all of them on and of and analysed the result. It seems that the information whe put on ASMA overloads the information on these mail attributes. But, in mail attributes, we don't have a field for REPLY-TO, just on ASMA we have this field.
So... the problem is in REPLY-TO. It has not been set in mail adapter, even if I set it with dinamic configuration.
thank you.
Waldemar Roberti -
Error in Mail Receiver Adapter
Hi Everyone,
I have been doing Mail Receiver Adapter Scenario.I am getting this error in Adapter Monitoring in Runtime Workbench.
<b>not initialized: failed to initialize the channel: com.sap.aii.messaging.util.URI$MalformedURIException: no scheme</b>
I would appreciate if anyone would provide a solution for this issue.
Thanks & Regards,
Varun Reddy.KHi Jai Shankar, Thanks for your reply.
This is the XML source code generated after doing Mapping.
<?xml version="1.0" encoding="UTF-8"?>
<ns0:SourceMT_mail27 xmlns:ns0="http://isg.com/xi/training/MailReceiver27">
<Subject>This is only a test mail</Subject>
<From>[email protected]</From>
<To>[email protected]</To>
<Content>hi sudhir, How are you doing?</Content>
</ns0:SourceMT_mail27>
Regards,
Varun Reddy.K -
Mail receiver adapter: attachment adds 3 empy lines
Hi,
i use the mail receiver adapter with "mail package" for setting dynamic attachment names.
The attachment always gets 3 "cr/lf" lines at the end? Why and how can i stop that?
System: xi3.0sp15build0
Message was edited by:
Bernhard Josef NeuhauserHI,
Please read above link for PayloadSwapBean.
You use the PayloadSwapBean module to replace the application payload of the XI message that contains the business data with another payload that is appended to the XI message as an attachment
Also see the links below.. how to use PayloadSwapBean.
HOW - PayloadSwapBean - adding attachments to the message? :-)
Mailadapter, receive mails from mailserver: attachment?
Work with attachments
Sender Mail Adapter - html body mail
Multi Attachments with ZIP or Mail Adapter (Outbound)
Regards
Chilla.. -
Mail receiver adapter - line feed problem
Hi!
I am just configuring a mail receiver adapter. In the module tab i configured a conversion from XML to plain which works well. The plain text file is created but there are no line feeds after the plain text lines.
The configuration in the module tab looks like this:
Modulename: localejbs/AF_Modules/MessageTransformBean
Type: Local Enterprise Bean
Module key: XML2Plain
<u>Module configuration:</u>
XML2Plain - Transform.Class - com.sap.aii.messaging.adapter.Conversion
XML2Plain - Tansform.ContentType - text/plain;charset=utf-8
XML2Plain - xml.conversionType - SimpleXML2Plain
XML2Plain - xml.addHeaderLine - 0
XML2Plain - xml.fieldFixedLengths - 80,80,80,80,80,80
XML2Plain - xml.fixedLengthTooShortHandling - Cut
Can anybody please help me?
Thanks in advance
ChrisHi Stefan!
Thanks for your reply! Your suggestions would be perfect if I already had any kind of line break, eg. lf or crlf. At the moment there is no separator at the end of each line.
<u>The XML file looks like this:</u>
<b> <?xml version="1.0" encoding="UTF-8" ?>
<ns:X_ANSI_TXT xmlns:ns="urn:customer.com:edi:kunden">
<MSG>
<LINE_01>*** START OF REPORT ***</LINE_01>
<LINE_02>PO CHANGE REQUEST</LINE_02>
<LINE_03>DATE: 10/05/05 TIME: 0744</LINE_03>
<LINE_04 />
<LINE_05>PO TYPE: CR: Change to Release</LINE_05>
<LINE_06>PO #: DB65544027560070</LINE_06>
<LINE_07>ORIGINAL PO DATE: 02/03/93</LINE_07>
<LINE_08>PO CHANGE REQUEST DATE: 10/05/05</LINE_08>
<LINE_09>SHPMT PMT METHOD: CC: COLLECT</LINE_09>
<LINE_10>FOB POINT: OR:ORIGIN (SHIPPNG PT)</LINE_10>
<LINE_11>FOB DESCRIPTION: ORIGIN (SHIPPNG PT)</LINE_11>
<LINE_12>*** END OF REPORT *** </LINE_50>
<LINE_13 />
</MSG></b>
<u>After conversion the output looks like this:</u>
<b>*** START OF REPORT *** PO CHANGE REQUEST DATE: 10/05/05 TIME: 0744 PO TYPE: CR: Change to Release PO #: DB65544027560070 ORIGINAL PO DATE: 02/03/93 PO CHANGE REQUEST DATE: 10/05/05 SHPMT PMT METHOD: CC: COLLECT FOB POINT: OR:ORIGIN (SHIPPNG PT) FOB DESCRIPTION: ORIGIN (SHIPPNG PT) *** END OF REPORT ***</b>
<u>I would like to create a more readable format like this:</u>
<b>*** START OF REPORT ***
PO CHANGE REQUEST
DATE: 10/05/05 TIME: 0744
PO TYPE: CR: Change to Release
PO #: DB65544027560070
ORIGINAL PO DATE: 02/03/93
PO CHANGE REQUEST DATE: 10/05/05
SHPMT PMT METHOD: CC: COLLECT
FOB POINT: OR:ORIGIN (SHIPPNG PT)
FOB DESCRIPTION: ORIGIN (SHIPPNG PT)
END OF REPORT ***</b>
Do I have to change the XML message or is there a chance to use a module entry?
Kind regards
Chris -
Mail Receiver Adapter Attachment Content Encoding
Hello to all,
we use a mail receiver adapter to sent XI messages as email. Everything works fine but the content encoding of the attachment is set to UTF-8. I need ISO-8859-1 instead of UTF-8. How could I achieve this ?
Thanks ChristianHello Stefan,
we've tried this too (content type to: text/plain;charset="ISO-8859-1"), but it didn't work.
This is our output structure
<?xml version="1.0" encoding="ISO-8859-1"?><ns:Mail xmlns:ns="http://sap.com/xi/XI/Mail/30"><Subject>Daten von 01.07.2008 12:20</Subject><From>mail(at)dummy.de</From><To>max.muster(at)web.de</To><Content_Type>multipart/mixed; boundary="--AaZz"</Content_Type><Content>----AaZz
Content-Type: text/html; charset=ISO-8859-1
Content-Disposition: inline
Mit freundlichen Grüßen
----AaZz
Content-Type: text/plain; charset=ISO-8859-1; name=Daten 01.07.2008 1220.txt
Content-Disposition: attachment; filename=Daten 01.07.2008 1220.txt
"N";2000000003;"1234123412341234";1234500009;000000000000;01;"L";"OKDAU";1;"Prof. Dr.";"Max";"Mustermann";"";"Musterstraße";"";000000;"PLZ45";"Musterhausen";"";19990101;"max.mustermann(at)muster.com";"";"";"";"";"1";"Titel";"Vorname";"Name";"20000101";"";"0";"Max Mustermann";"L";"BLZ";"100000001";"Musterbank";00;;01;000000;;;00;1;0;0;1;0;"ForumNr";1;1;0;1;0;1;0;0;20080620;0;;0;20080620;0;20080620;0002;STANDARD
"N";2000000004;"5678567856785678";1234567009;000000000000;01;"L";"OKDAU";1;"Prof. Dr.";"Stefan";"Maier";"";"Teststraße";"";000000;"PLZ65";"Testhausen";"";19991201;"stefan.maier(at)test.de";"";"";"";"";"1";"Titel";"Vorname";"Name";"20001201";"";"0";"Stefan Maier";"L";"BLZ";"100000001";"Testbank";00;;01;000000;;;00;1;0;0;1;0;"ForumENr";1;1;0;1;0;1;0;0;20080620;0;;0;20080620;0;20080620;0002;STANDARD</Content></ns:Mail>
But the attachment is UTF-8
Thanks for your help.
Christian
Maybe you are looking for
-
Windows client intermittent connection to PEAP WIFI backed off to ISE 1.2 wildcard cert
I am setting up a topology whwere for the first time I am deplying ISE with a wildcard certificate. This is on ISE 1.2 patch 6, WLC's running 7.6 and Windows 7 clients in AD. The ISE policy is just to match on machine auth. The setting up of the wi
-
Toshiba 40RL933 - can not program recording of TV programs
I have just bought an external drive and I have plug it to my 40RL933. The TV is able to see the HD but I can not program recording of TV programs. I have updated the software but no new version is availble. The setting for USB auto start is set to o
-
SAP_J2EE_ADMIN, no systems available for user mapping
Hello, We are using EP 7.0 to run CRM applications (client 100). We are creating portal users in 001 client of CRM server. When I try to map users of portal to users of crm through user administration, it says that, "There are no systems available fo
-
Making a button visible upon closing a document
Kind of a weird question, but is there a way to make a button visible upon closing a document? Here's my situation. I want users to click a link which will open a PDF. I then want the users to take a quiz based off of the information in the PDF. Is t
-
Music player not showing playlist in my Nokia C7
Plz help. my music player is not showing playlists. whenever i try to open the playlist the music player shuts down.