How can I send a e-mail by webdynpro develop?
Hi everybody.
The problem is : How can I send an e-mail some user, when some process of my webdynpro could be occur?
1. I know that the BASIS consultant, can help me to active and configurate SMTP, to send e-mails to user of the UME.
My Webdynpro has the function to create financials documents, when a document are created I need to send a e-mail to notify this action
Hi Jesus,
There are quite somes examples on SDN, but this document should get you kickstarted: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2678e05a-0701-0010-fa86-ddfbec5a2b94?QuickLink=index&overridelayout=true
Cheers,
Robin
Similar Messages
-
IN IPAD AIR How can i send an e-mail to several mail adress typing a group name, similar procedure used un gmail wich is very frendly
Before all these updates, one used to be able to create a Group (such as Buddy List), then send emails by clicking on that Group Name. Has not worked for a long time now, though. I wish they would bring it back.
-
How can i send and recieve mail through java
HI All,
plz let me know how can i send and receive mail through java.
Regards:
sachin kakkar
http://www.datamansoftwares.comUsing java mail API..
try to search the forum for java mail... you find many question and answer.
use the left search textfield -
How can I send an e-mail to Apple Customer Service?
Does anybody know how I can reach Apple Customer Service via e-mail?
Since they repeatedly delete the questions I post to this discussion platform, maybe I can communicate with them via e-mail.
If you are one of the Apple customer service people who are screening and deleting my posts, could you kindly send me an e-mail instead so we can start a communication.
Any help/hints would be highly appreciated.
Thank you.Unfortunately, that email address is not Customer Service; it is for problems relating to your Apple Support Community account only and will therefore most likely not have the desired results.
Apple has not published an email address for customer service; the best way to contact them for that would be at their corporate address in Cupertino:
http://www.apple.com/contact/ -
How can I send photos in mail as attachments instead of in the body of the message?
I want to send photos as attachments to email instead of in the body of the message. I have searched through preferenced in both mail and iPhoto but can find nothing that lets me do this.
1. As Rysz says, Mail does send them as attachments. If seeing the preview is problematic for you, then right click on it in the Mail Message window and select 'Show as Icon'.
2. If you're worried about how they are received... Mail defaults to sending RTF email. A few older applications on other OSes have problems with these. A lot of users on other OSes can't figure out how to set their Mail applications to work with them. If that's the problem, use Plain Text as Larry says. -
How can I send a snail mail card from iPhoto?
I read that the cards app has been terminated but in the cancellation announcement, apple says to try iPhoto on Mac. I have a MacBook Pro, iPhone 4S and 3rd gen. iPad. I have looked at iPhoto but I can't find any way to send a card. Is there is a way on iPhoto, or another app that will work on any other device I own, to send a card?
I have looked at iPhoto but I can't find any way to send a card.
iPhoto on your Mac will only let you order printed cards, but you will have to mail them on your own. -
How can i send an extranal mail from R/3
Hai everybody,
I need to send an extranal e-mail from R/3, I have a alv list and need to send to my extranal mail address(yahoo).
SMTP configured in SCOT. and i tried to send mail from sapconnect but when i chek my inbox,not getting any mail
if anyone know the solution plz explain the steps.
Thanks in advance,
leoizHi Leoiz,
Please check first transaction SCOT to find out if the message has been passed to the SMTP layer correctly. In the first screen of transaction SCOT go to Utilities -> Overview send orders. You should at least find your "order to send the overview" there. I guess you will find that there is a problem there. Most likely SAP was not able to convert the output on the mail node. Please let me know if what error you have found there.
Regards,
John. -
When I try to print out an E-mail that is longer than one page, part of the 2nd page is truncated. I then have to go to Safari to print out the entire E-mail without part of it being truncated.
When I have multiple E-mail addresses on a single E-mail, how can I send the E-mail so that each recipient only sees his/her name and E-mail address rather than everyone else that the E-mail is addressed to?
Please advise.
Thank you.
Bill LeeteSome style rules that Firefox handles well on the screen can cause this problem. Many email sites have a print button which simplifies the message format and removes navigation elements, etc., and Firefox generally handles print-formatted pages better. If your email site doesn't have print-formatted pages or those do not print, a "hack" is to select the text you want to print and then choose the Selection option in the print dialog.
To hide email addresses from recipients, you need to place them in the BCC field. What do you put in the TO field in that case? You can use your own address. -
How can I send email from my yahoo alias account in iPhone5 mail?
How can I send email from my yahoo alias account in iPhone5 mail?
I have 2 email accounts: [email protected] is an alias of [email protected]
In my old iPhone3 I had these accounts set up so that I could send and receive email from both accounts. I did this using the following settings:
‘Other’ POP account info:
Name: xyz
Address: [email protected]
Description: alias
Incoming mail server:
Host name: pop.mail.yahoo.com
User name: [email protected]
Password: password for yahoo account
Server port: 995
Outgoing mail server:
SMTP: smtp.o2.co.uk (o2 is the name of my phone network)
Server port: 25
‘Yahoo!’ account info:
Name: xyz
Address: [email protected]
Password: password for yahoo account
Description: Yahoo!
Outgoing mail server:
Primary server: Yahoo! SMTP server
Server port: 465
I’ve tried using the same settings in my new iPhone5, but it doesn’t work. I can receive mail to both accounts, and can send from the Yahoo account, but I cannot send mail from the alias account. When I try, it displays the message: “Cannot send mail. A copy has been placed in your Outbox. The recipient ‘[email protected]’ was rejected by the server”.
I’ve tried to configure the POP alias account using combinations of ‘pop.mail.yahoo.com’, ‘pop.mail.yahoo.co.uk’, ‘apple.pop.mail.yahoo.co.uk’ and ‘apple.pop.mail.yahoo.com’, for the incoming host, and ‘smtp.o2.co.uk’, ‘smtp.mail.yahoo.com’, ‘smtp.mail.yahoo.co.uk’, ‘apple.smtp.mail.yahoo.com’ and ‘apple.smtp.mail.yahoo.co.uk’ for the outgoing mail server. None of these have worked.
I’ve also tried setting it up using IMAP instead of POP without success. I tried configuring it using combinations of ‘imap.mail.yahoo.com’, ‘apple.imap.mail.yahoo.com’, ‘imap.mail.yahoo.co.uk’ and ‘apple.imap.mail.yahoo.co.uk’ for the incoming mail server and ‘smtp.o2.co.uk’, ‘smtp.mail.yahoo.com’, ‘smtp.mail.yahoo.co.uk’, ‘apple.smtp.mail.yahoo.com’ and ‘apple.smtp.mail.yahoo.co.uk’ for the outgoing mail server.
Yahoo say that if I can't send Yahoo! Mail from my mail program, I may be accessing the Internet through an ISP that is blocking the SMTP port, and that if this is the case, I should try setting the SMTP port number to 587 when sending email via Yahoo!'s SMTP server. I don't think that this is the problem, but I tried it just to make sure - without success.
I’ve also heard that the problem might have something to do with the SPF settings of my alias domain provider. I’m not too sure exactly what SPF settings are, or how to change them, but from what I can gather it seems unlikely that this is the problem given that I was able to send mail from my alias account on my old iPhone3.
Any help much appreciated: how can I get my alias account to send emails in iPhone5 mail?
Many thanks,
PatrickA new development: I've tried sending emails from the alias several times over the past 24 hours, but in general I've deleted them if they haven't sent within about half an hour.
However, one of the messages I left sitting in the outbox did send successfully in the end, but this took about an hour.
So: perhaps my problem is not in fact that I am completely unable to send mail from my alias, but that I can only do so intermittently and extremely slowly, and by ignoring the "cannot send" message.
Any help appreciated. -
How can we send Error Idocs via mail
Hi,
I have read read through forums and understood that it can be achieved either through workflow or through report using table edidd & edids.
If workflow option is used , does the mail trigger for every error idoc ? How can we send daily error report to user say by EOD containing all error idocs using all possible options.
Regards,
RachelRachel,
I dont think so any direct Report will be available just to get Error IDOCs details. Although you can create a simple report to read the tables. An example is in below link.
http://wiki.scn.sap.com/wiki/display/Snippets/Custom+report+for+IDOC+Monitoring
Also, you can create a Query of EDIDC and EDIDS tables to obatin relevant information.
Thanks,
Ravi -
I forgot my password along with the answers to my security questions. So I try sending an E-Mail to myself but the E-Mail I am sending it to isn't even mine, nor the one I have registered. How can I change the E-Mail or something?
Security questions:
https://discussions.apple.com/thread/4533485?tstart=0 -
How can i change my e-mail address color from blue to black when i send a new message
How can i change my e-mail address color from blue to black when i send a new message
Hi Steven, if you send to yourself does it come through blue?
Is this in the Header or a Signature? -
How can one send email-sized photo files as attachments in Apple Mail, without the photos appearing in the body of the email? If it can be done, it's not at all obvious, at least not to me. Thanks for any help you can provide.
The "View as icon" option shrinks the photo to an icon in the sender's Apple Mail, but how it appears to the recipient varies dependingy on what e-mail client he/she uses.
Using Apple Mail 5.0 (the Lion version) at both ends, the sender can use the "View as icon" option to shrink his view of the photo to an icon, but the recipient also using Apple Mail 5.0 still sees the full photo in line with the message text. The recipient can then use the "View as icon" option to shrink it to an icon, but I don't think that's not what jackofarabia is looking for.
As far as I know there is no way in the current Apple Mail to do what jackofarabia wants. There should be, but there isn't. -
How can I send feedback about Freedome by e-mail
I'm trying to send feed-back to Freedome by e-mail and I get following error message: "Sending e-mail failed. Could not perform this operation because the default mail client is not properly installed." - How can I properly install default mail client for Freedome 1.0.1715.0/Windows 7?
Hello Jarzan,
Sorry for not getting back to you earlier. Do you still have the same problem?
Could you tell us how (or from where) you try to send this email and on which platform/OS you are? -
How can I send purchase order through SAP mail ?
How can I send purchase order through SAP mail ? Can any one explain whts the NACE settings?
just do it as <b>Anji reddy</b> said to you ...or else ... in the purchase order trascation ...print it ... so that it will generate the spool request for that purchase order ....
so the the belwo program is for sending <b>the Spool Request data as Email to any Email id ...</b>
The code below demonstrates how to retrieve a spool request and email it as a PDF document. Please note for the below program to process a spool request the program must be executed in background otherwise no spool request will be created. Once you have had a look at this there is an modified version of the program which works in both background and foreground. Also see transaction SCOT for SAPConnect administration.
*& Report ZSPOOLTOPDF *
*& Converts spool request into PDF document and emails it to *
*& recipicant. *
*& Execution *
*& This program must be run as a background job in-order for the write *
*& commands to create a Spool request rather than be displayed on *
*& screen *
REPORT zspooltopdf.
PARAMETER: p_email1 LIKE somlreci1-receiver
DEFAULT '[email protected]',
p_sender LIKE somlreci1-receiver
DEFAULT '[email protected]',
p_delspl AS CHECKBOX.
*DATA DECLARATION
DATA: gd_recsize TYPE i.
* Spool IDs
TYPES: BEGIN OF t_tbtcp.
INCLUDE STRUCTURE tbtcp.
TYPES: END OF t_tbtcp.
DATA: it_tbtcp TYPE STANDARD TABLE OF t_tbtcp INITIAL SIZE 0,
wa_tbtcp TYPE t_tbtcp.
* Job Runtime Parameters
DATA: gd_eventid LIKE tbtcm-eventid,
gd_eventparm LIKE tbtcm-eventparm,
gd_external_program_active LIKE tbtcm-xpgactive,
gd_jobcount LIKE tbtcm-jobcount,
gd_jobname LIKE tbtcm-jobname,
gd_stepcount LIKE tbtcm-stepcount,
gd_error TYPE sy-subrc,
gd_reciever TYPE sy-subrc.
DATA: w_recsize TYPE i.
DATA: gd_subject LIKE sodocchgi1-obj_descr,
it_mess_bod LIKE solisti1 OCCURS 0 WITH HEADER LINE,
it_mess_att LIKE solisti1 OCCURS 0 WITH HEADER LINE,
gd_sender_type LIKE soextreci1-adr_typ,
gd_attachment_desc TYPE so_obj_nam,
gd_attachment_name TYPE so_obj_des.
* Spool to PDF conversions
DATA: gd_spool_nr LIKE tsp01-rqident,
gd_destination LIKE rlgrap-filename,
gd_bytecount LIKE tst01-dsize,
gd_buffer TYPE string.
* Binary store for PDF
DATA: BEGIN OF it_pdf_output OCCURS 0.
INCLUDE STRUCTURE tline.
DATA: END OF it_pdf_output.
CONSTANTS: c_dev LIKE sy-sysid VALUE 'DEV',
c_no(1) TYPE c VALUE ' ',
c_device(4) TYPE c VALUE 'LOCL'.
*START-OF-SELECTION.
START-OF-SELECTION.
* Write statement to represent report output. Spool request is created
* if write statement is executed in background. This could also be an
* ALV grid which would be converted to PDF without any extra effort
WRITE 'Hello World'.
new-page.
commit work.
new-page print off.
IF sy-batch EQ 'X'.
PERFORM get_job_details.
PERFORM obtain_spool_id.
*** Alternative way could be to submit another program and store spool
*** id into memory, will be stored in sy-spono.
*submit ZSPOOLTOPDF2
* to sap-spool
* spool parameters %_print
* archive parameters %_print
* without spool dynpro
* and return.
* Get spool id from program called above
* IMPORT w_spool_nr FROM MEMORY ID 'SPOOLTOPDF'.
PERFORM convert_spool_to_pdf.
PERFORM process_email.
if p_delspl EQ 'X'.
PERFORM delete_spool.
endif.
IF sy-sysid = c_dev.
wait up to 5 seconds.
SUBMIT rsconn01 WITH mode = 'INT'
WITH output = 'X'
AND RETURN.
ENDIF.
ELSE.
SKIP.
WRITE:/ 'Program must be executed in background in-order for spool',
'request to be created.'.
ENDIF.
* FORM obtain_spool_id *
FORM obtain_spool_id.
CHECK NOT ( gd_jobname IS INITIAL ).
CHECK NOT ( gd_jobcount IS INITIAL ).
SELECT * FROM tbtcp
INTO TABLE it_tbtcp
WHERE jobname = gd_jobname
AND jobcount = gd_jobcount
AND stepcount = gd_stepcount
AND listident <> '0000000000'
ORDER BY jobname
jobcount
stepcount.
READ TABLE it_tbtcp INTO wa_tbtcp INDEX 1.
IF sy-subrc = 0.
message s004(zdd) with gd_spool_nr.
gd_spool_nr = wa_tbtcp-listident.
MESSAGE s004(zdd) WITH gd_spool_nr.
ELSE.
MESSAGE s005(zdd).
ENDIF.
ENDFORM.
* FORM get_job_details *
FORM get_job_details.
* Get current job details
CALL FUNCTION 'GET_JOB_RUNTIME_INFO'
IMPORTING
eventid = gd_eventid
eventparm = gd_eventparm
external_program_active = gd_external_program_active
jobcount = gd_jobcount
jobname = gd_jobname
stepcount = gd_stepcount
EXCEPTIONS
no_runtime_info = 1
OTHERS = 2.
ENDFORM.
* FORM convert_spool_to_pdf *
FORM convert_spool_to_pdf.
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = gd_spool_nr
no_dialog = c_no
dst_device = c_device
IMPORTING
pdf_bytecount = gd_bytecount
TABLES
pdf = it_pdf_output
EXCEPTIONS
err_no_abap_spooljob = 1
err_no_spooljob = 2
err_no_permission = 3
err_conv_not_possible = 4
err_bad_destdevice = 5
user_cancelled = 6
err_spoolerror = 7
err_temseerror = 8
err_btcjob_open_failed = 9
err_btcjob_submit_failed = 10
err_btcjob_close_failed = 11
OTHERS = 12.
CHECK sy-subrc = 0.
* Transfer the 132-long strings to 255-long strings
LOOP AT it_pdf_output.
TRANSLATE it_pdf_output USING ' ~'.
CONCATENATE gd_buffer it_pdf_output INTO gd_buffer.
ENDLOOP.
TRANSLATE gd_buffer USING '~ '.
DO.
it_mess_att = gd_buffer.
APPEND it_mess_att.
SHIFT gd_buffer LEFT BY 255 PLACES.
IF gd_buffer IS INITIAL.
EXIT.
ENDIF.
ENDDO.
ENDFORM.
* FORM process_email *
FORM process_email.
DESCRIBE TABLE it_mess_att LINES gd_recsize.
CHECK gd_recsize > 0.
PERFORM send_email USING p_email1.
* perform send_email using p_email2.
ENDFORM.
* FORM send_email *
* --> p_email *
FORM send_email USING p_email.
CHECK NOT ( p_email IS INITIAL ).
REFRESH it_mess_bod.
* Default subject matter
gd_subject = 'Subject'.
gd_attachment_desc = 'Attachname'.
* CONCATENATE 'attach_name' ' ' INTO gd_attachment_name.
it_mess_bod = 'Message Body text, line 1'.
APPEND it_mess_bod.
it_mess_bod = 'Message Body text, line 2...'.
APPEND it_mess_bod.
* If no sender specified - default blank
IF p_sender EQ space.
gd_sender_type = space.
ELSE.
gd_sender_type = 'INT'.
ENDIF.
* Send file by email as .xls speadsheet
PERFORM send_file_as_email_attachment
tables it_mess_bod
it_mess_att
using p_email
'Example .xls documnet attachment'
'PDF'
gd_attachment_name
gd_attachment_desc
p_sender
gd_sender_type
changing gd_error
gd_reciever.
ENDFORM.
* FORM delete_spool *
FORM delete_spool.
DATA: ld_spool_nr TYPE tsp01_sp0r-rqid_char.
ld_spool_nr = gd_spool_nr.
CHECK p_delspl <> c_no.
CALL FUNCTION 'RSPO_R_RDELETE_SPOOLREQ'
EXPORTING
spoolid = ld_spool_nr.
ENDFORM.
*& Form SEND_FILE_AS_EMAIL_ATTACHMENT
* Send email
FORM send_file_as_email_attachment tables it_message
it_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_format TYPE so_obj_tp ,
ld_attdescription TYPE so_obj_nam ,
ld_attfilename TYPE so_obj_des ,
ld_sender_address LIKE soextreci1-receiver,
ld_sender_address_type LIKE soextreci1-adr_typ,
ld_receiver LIKE sy-subrc.
data: t_packing_list like sopcklsti1 occurs 0 with header line,
t_contents like solisti1 occurs 0 with header line,
t_receivers like somlreci1 occurs 0 with header line,
t_attachment like solisti1 occurs 0 with header line,
t_object_header like solisti1 occurs 0 with header line,
w_cnt type i,
w_sent_all(1) type c,
w_doc_data like sodocchgi1.
ld_email = p_email.
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[] = it_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-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.
t_receivers-receiver = ld_email.
t_receivers-rec_type = 'U'.
t_receivers-com_type = 'INT'.
t_receivers-notif_del = 'X'.
t_receivers-notif_ndel = 'X'.
APPEND t_receivers.
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.
Girish
Maybe you are looking for
-
has anyone ever had this problem and know how to fix it ?? I upload songs on to my ipod and they appear on my ipod in itunes but after i disconnect (the correct way) the songs do not appear on my ipod. If i plug the ipod back into my computer it sti
-
How do I uninstall SyncMate Server, Activity Monitor shows it still there after appzapper uninstall of SyncMate app? Killing in AM proceeds with a SyncMate Server startup again?? Mavricks, MacbookPro, typical config of everything and standard busines
-
Trouble with SF 300-24P 24-Port 10/100 PoE
Good day. I connect to switch Access Point, configure port on switch which vlan work on this port. But after reboot AP my config for this port delete and have other config where vlan 1 untagged, and allow all other vlan. But in my cinfig allow 3vlan:
-
Document splitting affecting posting
Hi, While executing the postings through TBB1, getting error "Balancing field Profit Center in line item 001 not filled". Also tried maintaining a default Profit center for the Forex Position account through 3KEH. Pls help..
-
I have just got a E61 phone and have tried to set up my work email on it. It is a POP3 incoming server which works fine i recive all my emails, but the phone will not send emails out. they just sit in the outbox. I am on network 3 and have tried chan