"Get Support Link" Problem in sending email
Hi ,
This is my requirement : If the user forgot his password he will be able to reset on his own.
I followed these steps:
- configured SMTP (This is configured for Workflow previously so left the same)
- made the property ume.logon.logon.help as ' true ' .
- changed the SMTP host name in the UME configuration as ip address of the SMTP server (123.12.1.2)
- Restarted the J2EE server.
Now I am able to get the link and when i tried to reset the password it is displaying the message
<b>New password was assigned and sent by e-Mail</b>
But I am not recieving any mail from the portal.
I am able to telnet from portal server to mail server through port 25.
Kindly provide suggestions to solve this problem
Best Wishes
Idhaya R
Points will be rewarded for useful answers.
Hi Idhaya,
Please double check the steps documented on http://help.sap.com/saphelp_nw70/helpdata/en/44/bf8f2069665991e10000000a422035/frameset.htm - especially: "It is important that administrators have an e-mail address that the STMP server accepts."
If it still fails then, please check the logs for any related entries...
Hope it helps
Detlev
Similar Messages
-
Problem in Sending email from Reports Queue Manager
Hi
I am getting problem in sending email from reports queue manager.
It says that error in logging to mail server.
If any body knows the sol then pl help me out.
thanksHi
I am getting problem in sending email from reports queue manager.
It says that error in logging to mail server.
If any body knows the sol then pl help me out.
thanks -
Get Support link does not work after SPS13 installation
Good evening,
we have patched our system from NW7 SPS10 to NW7 SPS13.
We have problem with our portal: on home page Get Support Link doesn't
work! When user click on Get Support link doesn't happen, only web page
change
from
https://sitemane/irj/portal/
to
https://sitename/irj/servlet/prt/portal/prttarget/uidpwlogon/prteventname/undefined/prtroot/com.sap.portal.navigation.portallauncher.default?gotoHelpPage=
Thanks for all
GerardoHi Gerardo,
Can you please check if this link works
https://sitename/irj/servlet/prt/portal/prttarget/uidpwlogon/prteventname/gotoHelpPage/prtroot/com.sap.portal.navigation.portallauncher.default
If this works then you need to check the Logon.Par as the component for Get Support resides inside the Logon Par only,
Thanks
Pankaj -
I pre-ordered an album and it says it was purchased in my itunes but it hasn't downloaded yet and I never got an email giving me a link to download it. Is there a way to get the link resent in an email?
Hello KailaRy
Check in your iTunes folder on your computer to find the files. If they are there, then drag on top of iTunes to import them in. If they are not there, then report the issue to the iTunes Store.
Where are my iTunes files located?
http://support.apple.com/kb/ht1391
How to report an issue with your iTunes Store, App Store, Mac App Store, or iBooks Store purchase
http://support.apple.com/kb/HT1933
Regards,
-Norm G. -
I'm having problems receiving/sending emails thru Outlook.
I switched internet connection from AT&T to Comcast and I'm still utilized several AT&T email address's for free. I'm having problems receiving/sending emails thru Outlook. Could the problem be due to using their free emails with no support.
Do I have to go thru yahoo to read/send emails?Change the ISP would not effect the email connection generally. (Only when ISP disable your mailbox which they could control directly.)
I suppose that your Outlook still store/cache the AT&T messages, try to export them as PST data file for backup.
Setup the new Yahoo in your current Outlook first and then import that backup.pst to continue to use.
http://support.microsoft.com/kb/287070/en-us
Thanks
Tony Chen
TechNet Community Support -
Having problems in sending email..always saved in outbox and cannot send bcoz of server failed
The email server you are using to send mail through requires the password, if any is required it needs to be set in the location that I pointed out in the earlier post.
It is usually the same password you use for receiving emails.
I don't use either Facebook or Twitter so I am not sure how to help with those. -
Hi,
Could anyone please explain me, what does the "GET SUPPORT" link in EP does(in logic screen)
Thanks,
Sathyahi,
Check this documentation <a href="http://help.sap.com/saphelp_nw04/helpdata/en/5f/9367160ab1b24280ae7fa916bd99e2/frameset.htm">E-Mailing Service</a>
Reward points for useful answers!
Regards,
Ganesh N -
Why am I getting syntax error messages when sending emails thru MS Office:MAC 2011?
Why am I getting suntax error messages when sending emails thru my outlook on my MacPro?
What are the exact and complete error messages?
-
I get the following message when sending emails on my ipad: The recipient "email address" was rejected by the server". If I send the email to 3 people, one will be rejected. If I send the same thing to the same 3 people a different one will be rejected. Any ideas?
Try a Reset [Hold the Home and Sleep/Wake buttons down together for 10 seconds or so (until the Apple logo appears) and then release. The screen will go blank and then power ON again in the normal way.] It is app and data safe!
-
Problem in sending email ??
Hi Guys
we are facing a strange problem. We have a lot os programs which sends emails from SAP. Since this week the system is not sending any emails. Once the program is executed the program generates the emails which we can see in the SOST transaction. It is NOT in ERROR but still it is not sent to the inbox( internet).
All the messages are staying in the queue with the message 711. When i check the long text of this message it says
<i>Message transferred by node to communication system
Message no. XS711
Diagnosis
The node has passed the message to its communication system.
System Response
Processing was ended normally.
Additional information on the node used (in the system language of the node):
Procedure
No action is necessary. The message will shortly reach the recipient.
</i>
But we have waited for one complete day and the emails are still in the queue. Any idea what is missing. I also tried to select the unsent emails and Force send it but it still did not work. I then executed the RSCONNECT program to send all the emails still it did not work.
Any idea????????
~SureshHi Suresh,
As you are saying that the mail functionality was working fine last week and not working during this week that means there must be something changed. May be you have not applied support pack but basis may have changed system parameters, or check with the batch jobs if they are working fine.
Regards,
Atish -
Problem in sending Email notification from BPEL
Hi,
i am trying to send email from BPEL using Email activity.Using SoaSuite10.1.3.3
i configured the ns_emails.xml file properly as below.
when i run the process, it is executing fine without any error.
but i am not receiving any mail.
even i applied patch set p6148874 also.
below pasted is the ns_emails.xml file.
<EmailAccount>
<Name>Default</Name>
<GeneralSettings>
<FromName>Oracle BPM</FromName>
<FromAddress>[email protected]</FromAddress>
</GeneralSettings>
<OutgoingServerSettings>
<SMTPHost>domain.com</SMTPHost>
<SMTPPort>25</SMTPPort>
</OutgoingServerSettings>
<IncomingServerSettings>
<Server>domain.com</Server>
<Port>110</Port>
<Protocol>pop3</Protocol>
<UserName>ckommalapati</UserName>
<Password ns0:encrypted="false" xmlns:ns0="http://xmlns.oracle.com/ias/pcbpel/NotificationService">Chandu@1205</Password>
<UseSSL>false</UseSSL>
<Folder>Inbox</Folder>
<PollingFrequency>1</PollingFrequency>
<PostReadOperation>
<MarkAsRead/>
</PostReadOperation>
</IncomingServerSettings>
</EmailAccount>
Even i tried adding <AuthenticationRequired> details to the above and its not working.
i restarted the server after modifications.
i tried pinging the SMTP server of my domain, and its connecting successfully.
Could any one suggest me the solution for this problem.
is there anything extra need to be configured for this..?
Thanks in advance.Hi, ravigali :
Following are some steps I take to set Email notification in BPEL:
A important thing: get the right parameters of your Email server.
Step:
1. Alter ns_emails.xml (in D:\soft\SOASuite\product\10.1.3.1\OracleAS_1\bpel\system\services\config directory), an example is as following:
<EmailAccounts xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService"
EmailMimeCharset=""
NotificationMode="EMAIL">
<EmailAccount>
<Name>Default</Name>
<GeneralSettings>
<FromName>*Your Name*</FromName>
<FromAddress>*Your Email: ***@***.com*</FromAddress>
</GeneralSettings>
<OutgoingServerSettings>
<SMTPHost>*mail.***.com*</SMTPHost>
<SMTPPort>25</SMTPPort>
</OutgoingServerSettings>
<IncomingServerSettings>
<Server>*mail.***.com*</Server>
<Port>993</Port>
<Protocol>IMAP</Protocol>
<UserName>***@***.com</UserName>
<Password ns0:encrypted="false" xmlns:ns0="http://xmlns.oracle.com/ias/pcbpel/NotificationService">***</Password>
<UseSSL>true</UseSSL>
<Folder>Inbox</Folder>
<PollingFrequency>1</PollingFrequency>
<PostReadOperation>
<MarkAsRead/>
</PostReadOperation>
</IncomingServerSettings>
</EmailAccount>
</EmailAccounts>
Note: the detail explain of every XML element is in http://download.oracle.com/docs/cd/B31017_01/integrate.1013/b28982/service_config.htm#sthref324 (2.2.1 Configuring the E-mail Server)
2. Add the following property to wf_config.xml (in D:\soft\SOASuite\product\10.1.3.1\OracleAS_1\bpel\system\services\config directory):
<property name="oracle.bpel.services.notification.publisher_interval" value="1" />
Then the BPEL server will send notification every 1 minute. More detail about this configuration to see http://download.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/notif.htm#sthref1678 (14.2.1 Reliable Notification Service).
3. Re-start all SOA Suite services. (opmnctl startall)
After the BPEL process invoke any E-mail notification activity and if we can’t receive any E-mail notification, we need to check the BPELNOTIFICATION table (ORABPEL database schema). And delete any error data in this table, then correct the E-mail notification setting through above steps and re-start all SOA Suite services.
Thanks,
Melody -
i am having internal table contains values.
i want that output should be send as an email attachment
to email id given in selection screen.
but chinese can't diaplay rightly in attachment .
the code is this:
data: begin of TAB,
X(1) type x value '09',
end of tab,
C(10) type c.
class cl_abap_char_utilities definition load.
c+5(1) = cl_abap_char_utilities=>horizontal_tab.
*& Form SEND_EMAIL
text
--> p1 text
<-- p2 text
FORM SEND_EMAIL.
READ TABLE TA_YP043D INDEX 1.
IF SY-SUBRC = 0 .
Retrieve sample data from table ekpo
PERFORM DATA_RETRIEVAL.
Populate table with detaisl to be entered into .htm file
PERFORM BUILD_XLS_DATA_TABLE.
Populate message body text
PERFORM POPULATE_EMAIL_MESSAGE_BODY.
Send file by email attached as .htm file
PERFORM SEND_FILE_AS_EMAIL_ATTACHMENT
TABLES it_message
it_attach
USING p_email
'条码系统出库有问题的条码'
'HTML'
'WC_Document'
CHANGING gd_error
gd_reciever.
Instructs mail send program for SAPCONNECT to send email(rsconn01)
PERFORM INITIATE_MAIL_EXECUTE_PROGRAM.
ENDIF.
ENDFORM. " SEND_EMAIL
*& Form BUILD_XLS_DATA_TABLE
text
--> p1 text
<-- p2 text
FORM BUILD_XLS_DATA_TABLE .
CONCATENATE '<' 'HTML' '>' INTO it_attach .
APPEND it_attach.
CONCATENATE '<' 'HEAD' '>' INTO it_attach .
APPEND it_attach.
CONCATENATE
'<meta http-equiv=Content-Type content=' '"' 'text/html; charset= GB2312
''"' '>' INTO it_attach.
APPEND it_attach.
CONCATENATE '<' '/HEAD' '>' INTO it_attach .
APPEND it_attach.
CONCATENATE '<P style=''font-size:12.0PT''><B> 批次:' pa_zbat
'</B></P>' INTO it_attach SEPARATED BY
CL_ABAP_CHAR_UTILITIES=>horizontal_tab.
APPEND it_attach.
CONCATENATE '<P style=''font-size:12.0pt''><B> 日期:' sy-datum
'</B></P>' INTO it_attach SEPARATED BY
CL_ABAP_CHAR_UTILITIES=>horizontal_tab.
APPEND it_attach.
CONCATENATE '<P style=''font-size:12.0pt''><B>' '硫化未上传的条码有: '
'</B></P>' INTO it_attach SEPARATED BY
CL_ABAP_CHAR_UTILITIES=>horizontal_tab.
APPEND it_attach.
*CONCATENATE '<P style=''font-size:12.0pt''><B>' ' ' ' </B></P>' INTO
*it_attach.
*APPEND it_attach.
LOOP AT TA_YP043D .
*CONCATENATE '< style=''font-size:12.0pt''><B> ' TAB-ZBARCD '</B>'
CONCATENATE '<B> ' TA_YP043D-ZBARCD ' </B>' INTO
it_attach .
APPEND it_attach.
ENDLOOP.
ENDFORM. " BUILD_XLS_DATA_TABLE
*& Form POPULATE_EMAIL_MESSAGE_BODY
text
--> p1 text
<-- p2 text
FORM POPULATE_EMAIL_MESSAGE_BODY .
DATA: TP_TEST0(255) TYPE C,
TP_TEST3(255) TYPE C,
TP_TEST(255) TYPE C.
TP_TEST = '当轮胎进行X光机数据上传时,有些条码在硫化阶段不存在资料'.
TP_TEST0 = '请您查看并尽快解决.'.
CONCATENATE TP_TEST TP_TEST0 INTO TP_TEST3 SEPARATED BY ' , '.
APPEND '尊敬的先生/女士,' TO it_message.
APPEND ' ' TO it_message.
APPEND TP_TEST3 TO it_message.
APPEND '具体问题请查看附件.' TO it_message.
APPEND ' ' TO it_message.
APPEND '谢谢.' TO it_message.
APPEND ' ' TO it_message.
APPEND '来自,' TO it_message.
APPEND SY-UNAME TO it_message.
ENDFORM. " POPULATE_EMAIL_MESSAGE_BODY
*& Form D_FILE_AS_EMAIL_ATTACHMENT *
*& Send *
FORM SEND_FILE_AS_EMAIL_ATTACHMENT TABLES pit_message
pit_attach
USING p_email
p_mtitle
p_format
p_filename
p_attdescription
p_sender_address
p_sender_addres_type
CHANGING p_error
p_reciever.
DATA:
ld_error TYPE sy-subrc,
ld_reciever TYPE sy-subrc,
ld_mtitle LIKE sodocchgi1-obj_descr,
ld_email LIKE somlreci1-receiver,
ld_email2 LIKE somlreci1-receiver,
ld_format TYPE so_obj_tp ,
ld_attdescription TYPE so_obj_nam ,
ld_attfilename TYPE so_obj_des ,
ld_sender_address LIKE soextreci1-receiver value
'[email protected]',
ld_sender_address_type LIKE soextreci1-adr_typ,
ld_receiver LIKE sy-subrc.
data: TMP_MAIL(40) TYPE C.
DATA: MAIN_EMAIL(40) TYPE C.
DATA: TMP_POS TYPE I .
DATA: ADD_EMAIL(40) TYPE C.
DATA: L_POS TYPE I, R_POS TYPE I, MAIL_LEN TYPE I.
ld_email = p_email.
ld_email2 = p_email2.
ld_mtitle = p_mtitle.
ld_format = p_format.
ld_attdescription = p_attdescription.
ld_attfilename = p_filename.
ld_sender_address = p_sender_address.
ld_sender_address_type = p_sender_addres_type.
Fill the document data.
w_doc_data-doc_size = 1.
Populate the subject/generic message attributes
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle .
w_doc_data-sensitivty = 'F'.
Fill the document data and get size of attachment
CLEAR w_doc_data.
READ TABLE it_attach INDEX w_cnt.
w_doc_data-doc_size =
( w_cnt - 1 ) * 255 + STRLEN( it_attach ).
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle.
w_doc_data-sensitivty = 'F'.
CLEAR t_attachment.
REFRESH t_attachment.
t_attachment[] = pit_attach[].
Describe the body of the message
CLEAR t_packing_list.
REFRESH t_packing_list.
t_packing_list-transf_bin = space.
t_packing_list-head_start = 1.
t_packing_list-head_num = 0.
t_packing_list-body_start = 1.
DESCRIBE TABLE it_message LINES t_packing_list-body_num.
t_packing_list-obj_name = ld_attfilename.
t_packing_list-doc_type = 'RAW'.
APPEND t_packing_list.
Create attachment notification
t_packing_list-transf_bin = 'X'.
t_packing_list-head_start = 1.
t_packing_list-head_num = 1.
t_packing_list-body_start = 1.
DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
t_packing_list-doc_type = ld_format.
t_packing_list-obj_descr = ld_attdescription.
t_packing_list-obj_name = ld_attfilename.
t_packing_list-doc_size = t_packing_list-body_num * 255.
APPEND t_packing_list.
Add the recipients email address
CLEAR t_receivers.
REFRESH t_receivers.
TP_MAIL_MAIN = PA_MAIL.
TP_MAIL = PA_MAIL1.
if sy-subrc = 0 .
t_receivers-receiver = TP_MAIL_MAIN.
t_receivers-rec_type = 'U'.
t_receivers-com_type = 'INT'.
t_receivers-notif_del = 'X'.
t_receivers-notif_ndel = 'X'.
APPEND t_receivers.
ENDIF.
*READ FROM TP_MAIL LIST
TP_MAIL_TMP = TP_MAIL .
WHILE SY-SUBRC = 0 .
SEARCH TP_MAIL_TMP FOR ', ' .
MAIL_LEN = STRLEN( TP_MAIL_TMP ) .
IF SY-SUBRC = 0 .
TMP_POS = sy-fdpos .
ADD_EMAIL = TP_MAIL_TMP+0(TMP_POS) .
R_POS = TMP_POS + 2 .
L_POS = MAIL_LEN - TMP_POS .
TP_MAIL_TMP = TP_MAIL_TMP+R_POS(L_POS) .
ELSE.
ADD_EMAIL = TP_MAIL_TMP .
ENDIF.
t_receivers-receiver = ADD_EMAIL.
t_receivers-rec_type = 'U'.
t_receivers-com_type = 'INT'.
t_receivers-notif_del = 'X'.
t_receivers-notif_ndel = 'X'.
t_receivers-COPY = 'X' .
APPEND t_receivers.
ENDWHILE.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = w_doc_data
put_in_outbox = 'X'
sender_address = ld_sender_address
sender_address_type = ld_sender_address_type
commit_work = 'X'
IMPORTING
sent_to_all = w_sent_all
TABLES
packing_list = t_packing_list
contents_bin = t_attachment
contents_txt = it_message
receivers = t_receivers
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
Populate zerror return code
ld_error = sy-subrc.
Populate zreceiver return code
LOOP AT t_receivers.
ld_receiver = t_receivers-retrn_code.
ENDLOOP.
ENDFORM. " SEND_FILE_AS_EMAIL_ATTACHMENT
*& Form INITIATE_MAIL_EXECUTE_PROGRAM *
*& Instructs mail send program for SAPCONNECT to send email *
FORM INITIATE_MAIL_EXECUTE_PROGRAM.
WAIT UP TO 2 SECONDS.
SUBMIT rsconn01 WITH mode = 'INT'
WITH output = 'X'
AND RETURN.
ENDFORM. " INITIATE_MAIL_EXECUTE_PROGRAM
please help me its urgent.thank you.
Message was edited by:
shanjing du
Message was edited by:
shanjing duhi,
chkout this code...
1..intab to CSV
tYPE-POOLS: truxs.
TYPES:
BEGIN OF ty_Line,
vbeln LIKE vbap-vbeln,
posnr LIKE vbap-posnr,
END OF ty_Line.
ty_Lines TYPE STANDARD TABLE of ty_Line WITH DEFAULT KEY.
DATA: itab TYPE ty_Lines.
DATA: itab1 TYPE truxs_t_text_data.
SELECT
vbeln
posnr
UP TO 10 ROWS
FROM vbap
INTO TABLE itab.
CALL FUNCTION 'SAP_CONVERT_TO_CSV_FORMAT'
EXPORTING
i_field_seperator = ';'
TABLES
i_tab_sap_data = itab
CHANGING
i_tab_converted_data = itab1
EXCEPTIONS
conversion_failed = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = 'C:TEMP est.txt'
TABLES
data_tab = itab1
EXCEPTIONS
OTHERS = 1.
2) to send email
*& Report ZEMAIL
REPORT ZEMAIL.
data: itcpo like itcpo,
tab_lines like sy-tabix.
Variables for EMAIL functionality
data: maildata like sodocchgi1.
data: mailpack like sopcklsti1 occurs 2 with header line.
data: mailhead like solisti1 occurs 1 with header line.
data: mailbin like solisti1 occurs 10 with header line.
data: mailtxt like solisti1 occurs 10 with header line.
data: mailrec like somlrec90 occurs 0 with header line.
data: solisti1 like solisti1 occurs 0 with header line.
perform send_form_via_email.
FORM SEND_FORM_VIA_EMAIL *
form send_form_via_email.
clear: maildata, mailtxt, mailbin, mailpack, mailhead, mailrec.
refresh: mailtxt, mailbin, mailpack, mailhead, mailrec.
Creation of the document to be sent File Name
maildata-obj_name = 'TEST'.
Mail Subject
maildata-obj_descr = 'Subject'.
Mail Contents
mailtxt-line = 'Here is your file'.
append mailtxt.
Prepare Packing List
perform prepare_packing_list.
Set recipient - email address here!!!
mailrec-receiver = '[email protected]'.
mailrec-rec_type = 'U'.
append mailrec.
Sending the document
call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
exporting
document_data = maildata
put_in_outbox = ' '
tables
packing_list = mailpack
object_header = mailhead
contents_bin = mailbin
contents_txt = mailtxt
receivers = mailrec
exceptions
too_many_receivers = 1
document_not_sent = 2
operation_no_authorization = 4
others = 99.
if sy-subrc = 0.
submit rsconn01 with mode = 'INT' and return.
endif.
endform.
Form PREPARE_PACKING_LIST
form prepare_packing_list.
clear: mailpack, mailbin, mailhead.
refresh: mailpack, mailbin, mailhead.
describe table mailtxt lines tab_lines.
read table mailtxt index tab_lines.
maildata-doc_size = ( tab_lines - 1 ) * 255 + strlen( mailtxt ).
Creation of the entry for the compressed document
clear mailpack-transf_bin.
mailpack-head_start = 1.
mailpack-head_num = 0.
mailpack-body_start = 1.
mailpack-body_num = tab_lines.
mailpack-doc_type = 'RAW'.
append mailpack.
mailhead = 'TEST.TXT'.
append mailhead.
File 1
mailbin = 'This is file 1'.
append mailbin.
describe table mailbin lines tab_lines.
mailpack-transf_bin = 'X'.
mailpack-head_start = 1.
mailpack-head_num = 1.
mailpack-body_start = 1.
mailpack-body_num = tab_lines.
mailpack-doc_type = 'TXT'.
mailpack-obj_name = 'TEST1'.
mailpack-obj_descr = 'Subject'.
mailpack-doc_size = tab_lines * 255.
append mailpack.
*File 2
mailbin = 'This is file 2'.
append mailbin.
data: start type i.
data: end type i.
start = tab_lines + 1.
describe table mailbin lines end.
mailpack-transf_bin = 'X'.
mailpack-head_start = 1.
mailpack-head_num = 1.
mailpack-body_start = start.
mailpack-body_num = end.
mailpack-doc_type = 'TXT'.
mailpack-obj_name = 'TEST2'.
mailpack-obj_descr = 'Subject'.
mailpack-doc_size = tab_lines * 255.
append mailpack.
With PDF Attachment:
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'Z_TEST'
IMPORTING
fm_name = v_fname.
CALL FUNCTION v_fname
EXPORTING
control_parameters = x_ctrl_p
IMPORTING
job_output_info = x_output_data.
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
max_linewidth = 134
IMPORTING
bin_filesize = v_size
TABLES
otf = x_output_data-otfdata
lines = it_lines
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
OTHERS = 4.
CALL FUNCTION 'SX_TABLE_LINE_WIDTH_CHANGE'
EXPORTING
line_width_dst = 255
TABLES
content_in = it_lines
content_out = it_soli
EXCEPTIONS
err_line_width_src_too_long = 1
err_line_width_dst_too_long = 2
err_conv_failed = 3
OTHERS = 4.
CALL FUNCTION 'FUNC_CONVERT_DATA_ODC01'
EXPORTING
iv_byte_mode = 'X'
TABLES
it_data = it_lines
et_data = it_table.
*-----To caluculate total number of lines of internal table
DESCRIBE TABLE it_table LINES v_lines.
*-----Create Message Body and Title and Description
it_mess = 'successfully converted smartform from otf format to pdf' .
APPEND it_mess.
wa_doc_data-obj_name = 'smartform'.
wa_doc_data-expiry_dat = sy-datum + 10.
wa_doc_data-obj_descr = 'smartform'.
wa_doc_data-sensitivty = 'F'.
wa_doc_data-doc_size = v_lines * 255.
APPEND it_pcklist.
*-----PDF Attachment
it_pcklist-transf_bin = 'X'.
it_pcklist-head_start = 1.
it_pcklist-head_num = 0.
it_pcklist-body_start = 1.
it_pcklist-doc_size = v_lines_bin * 255 .
it_pcklist-body_num = v_lines.
it_pcklist-doc_type = 'PDF'.
it_pcklist-obj_name = 'smartform'.
it_pcklist-obj_descr = 'smart_desc'.
it_pcklist-obj_langu = 'E'.
it_pcklist-doc_size = v_lines * 255.
APPEND it_pcklist.
*-----Giving the receiver email-id
CLEAR it_receivers.
it_receivers-receiver = [email protected]'.
it_receivers-rec_type = 'U'.
APPEND it_receivers.
*-----Calling the function module to sending email
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = wa_doc_data
put_in_outbox = 'X'
commit_work = 'X'
TABLES
packing_list = it_pcklist
contents_txt = it_mess
contents_hex = it_table
receivers = it_receivers
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
also chk these links..
https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=sendingmailsfrominternaltable&adv=false&sortby=cm_rnd_rankvalue
thanks
jaideep
*reward points if useful... -
Relaying problem when sending email
Hi All,
I have read all of the forums regarding this type of problem but I am still unable to send email to outside addresses such as hotmail or yahoo. I can send to internal email adresses without a problem. I have tried autheticating myself with the server first but that didn't make a difference and I cannot make changes to the exchange servers settings for relaying like someone suggested. I know the server is setup correctly because I can send email to external accounts with my desktop outlook client. Can someone please take a look at my code and tell me if their is a problem with it. Thanks in advance!!
public void execute(javax.mail.Store store, Hashtable variables) throws Exception
// Get system properties
Properties props = System.getProperties();
// Setup mail server
props.put("mail.smtp.auth", "true");
props.put("mail.transport.protocol", "smtp");
props.put("mail.smtp.host",store.getURLName().getHost());
// authenticate myself with the server
Authenticator authenticator = new ServerAuthentication(myUsername, myPassword);
// Get session
Session session = Session.getDefaultInstance(props,authenticator);
session.setDebug(true);
// Define message
MimeMessage message = new MimeMessage(session);
message.setReplyTo(new Address[] {new InternetAddress("[email protected]")});
message.setRecipient(Message.RecipientType.TO,
new InternetAddress(((String)variables.get("msgTO")).trim()));
message.setSubject((String)variables.get("msgSubject"));
message.setText((String)variables.get("msgBody"));
// Send message
Transport transport = session.getTransport();
transport.send(message);
transport.close();Hello,
I'm in the situation than yours.
Here is the code I use to send emails. I had problem with authenticator.
Transport transport = session.getTransport("smtp");
transport.connect(server, login, password);
transport.sendMessage(mimeMessage, mimeMessage.getAllRecipients());
transport.close();
Hope this help -
Problem with sending email .
Hi,
I am using SO_NEW_DOCUMENT_ATT_SEND_API1 fm to send email with one excel attachment. But while sending the mail the body of the mail is converted into one PDF file and it is attached along with the excel attachment. so i am getting two attachment and the body of mail is blank. my requirement is to send attachment along with the body of message.
I have checked in the outbox , the mail is sent in the required format with one excel attachment and body of mail. but while receiving the mail body is comming as a pdf attachment. is there any configuration problem. pl help me to solve the problem.
Regards.
Biswaeven look at SOST Status and Try to set up sap inbox and send email to your sap inbox.
if you get same problem and should be configurational issue or techinical issue.
Reward Points if it is helpful
Thanks
Seshu -
PDF fillable form problem with sending email
I created a fillable form on a PDF. I used the "emailto:" setting correctly. I have tested it out on numerous computers throughout my company and it has appeared in the email inbox of my supplied email with no problem. However, when my manager went to test the "Submit by Email" button I created on the PDF fillable form, it does not sync up with the "Select Email Client" box. It starts to do a 'send/receive" on her Microsoft Outlook. When I go and check to see if it sent anything at all to the designated email inbox it sends like 15 forms (some of them open and some of them do not). I assume that is just from her clicking a zillion times. But, I am curious to figure out why the "sent/receive" button appears on the bottom right-hand corner of her screen?!
Is there a security setting that she might not have clicked that everyone else does? Also, the "Print Form" button I created right next to the "Submit by Email" box works perfectly.
Any help is appreciated!In article <[email protected]>, Scarab wrote:
> For example I`ve got [email protected], [email protected],
> [email protected] accounts in my GW system. I`ve got [email protected]
> account on non-GroupWise system. I`d like to have group alias to send
> emails simulateusly to [email protected], [email protected],
> [email protected] and [email protected] and group alias must be in
> example.com domain. That`s why I configured [email protected] alias in
> non-GroupWise system but it doesn`t work with GroupWise IMAP.
>
Now we are even more confused
- system GW knows itself and answers for example.com
- system other knows itself and answers for __________?
You used example2.com in your above which is different from what you
started out with. And now you are mentioning IMAP that you haven't
mentioned at all before. Perhaps you are writing faster than you are
thinking and missing getting the key data into here, and that makes it
difficult for us to constructively help you.
Andy Konecny
Knowledge Partner (voluntary SysOp)
KonecnyConsulting.ca in Toronto
Andy's Profile: http://forums.novell.com/member.php?userid=75037
Maybe you are looking for
-
Hi! I really cannot find any answers to my question. I'm using the spry framework for outputting a table, from a source xml. In some records the xml holds HTML elements like links and line breaks. I want these element to show up on the table created
-
Indian coustomer care no is not working, Indian coustomer care no is not working
Indian coustomer care phone no. is not working. Always please check no.
-
I have a USB drive plugged into my AEBSn and have one music andmovie librayr on there that is accessed by both my Macbook and macpro with windows xp pro sp2. in windows when playing music files in itunes, sometimes it will stutter randomly and watchi
-
Hello, We are running GW7 on OES2 Linux. We have a simple setup with everthing on one box. Our gwia stopped sending and recieving mail suddenly. When I try to restart it I get an error: "glibc detected" and "double free or corruption" along with a "B
-
FCPX freezes when attempting to import media
Hello, I'm having trouble when attempting to import media to FCPX in that it won't even open up the browswer window to select files - it just hangs and I have to force quit. I have the latest version of FCPX and have used this previously without issu