To add number of senders mail addresses
in the following code how there is one sender address how do i make it to 3 senders i mean add the number of senders
REPORT ZSPOOL5 NO STANDARD PAGE HEADING.
PARAMETER: P_EMAIL1 LIKE SOMLRECI1-RECEIVER,
P_SENDER LIKE SOMLRECI1-RECEIVER,
P_DELSPL AS CHECKBOX.
*ranges:
*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.
*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. "obtain_spool_id
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. "get_job_details
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. "convert_spool_to_pdf
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. "process_email
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. "send_email
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. "delete_spool
*& 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. "send_file_as_email_attachment
hi ,
just loop at LD_SENDER_ADDRESS which is there in fm
'SO_DOCUMENT_SEND_API1'
Similar Messages
-
SOST Repeat Send does not ask for new fax number or e-mail address.
SOST Repeat Send does not ask for new fax number or e-mail address. It does work for one user but not for any others. It is supposed to ask you if you want to change the fax number or e-mail address if you were the user that sent the document. Does anyone know if there are settings that control this somewhere? Using SAP R/3 vers. 4.7
Dear Friends,
Normally, we can change the receipient address, if we send. We can not change the receipient address of another user.
Check Note 685164 - Resending with recipient change.
As per this note Go to SM30 and add parameter "SOST_REC_CHANGE" value "X" in view "SXPARAMS".
Now, if you click "repeat send" icon, it will ask below two option in dialog box:
The message is sent again. You can change the recipient before
sending. The sent message then appears as a
as a new send request in the list
Send to same recipients again
Change recipients before sending
It is working to me ....
Thanks & Regards,
Rajagopal
Chennai - INDIA. -
HT201342 Can I add my company e mail address to my icloud?
,?can I add my company e mail to iPad
You can't add a non-icloud email address to iCloud. You can add an alias email address, but it will have an @icloud.com domain, see http://support.apple.com/kb/PH2622). You can add your company email account to your device in Settings>Mail,Contacts,Calendars>Add Account, but it won't be an iCloud account.
-
when I choose my contact to send an Imessage, after I choose send a Messenger what address i must choo the phone number or the mail address
you can choose either or. to send it to there phone only send it to the number but if you are trying to send to that person ipad or computer you choose the email.
-
I cant change my security questions because I do not have a rescue e mail address. I can't add the email. What are the steps to do so..
You need to contact Apple. Click here, phone them, and ask for the Account Security team.
(87031) -
How do I go back and add a new e-mail address to my Envy printer
I wanted my son to be able to send pics to my printer. I added my e-mail but can't find how to go back and add anyone else.
This question was solved.
View Solution.Hi,
Please
(a) Logon to your HP Connected account,
(b) Click Devices tab,
(c) Click your printer,
(d) Click Manage Allowed Senders
You can add more email address(es) from there.
Regards.
BH
**Click the KUDOS thumb up on the left to say 'Thanks'**
Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem. -
Changing senders mail address in 'SO_NEW_DOCUMENT_SEND_API1'
Dear All,
I am using the function module 'SO_NEW_DOCUMENT_SEND_API1' for sending mail to the vendors.
The problem is when the mail is sent from this function module it takes the name of the user logged in in the senders address.
I want to send the mail by some other mail id, so is it possible to change the senders address in this function module.
If not , then is there any other way by which we can send mail and can change the senders addess .
Thanks and Regards
Manik L DhakateHi,
*--Method 1--*
CALL FUNCTION 'SUSR_USER_ADDRESS_READ'
EXPORTING
user_name = wf_user
IMPORTING
user_address = it_address
EXCEPTIONS
user_address_not_found = 1
OTHERS = 2.
IF sy-subrc = 0.
wf_addr_no = it_address-addrnumber.
wf_pers_no = it_address-persnumber.
SELECT SINGLE smtp_addr FROM adr6 INTO wf_addr
WHERE persnumber EQ wf_pers_no AND
addrnumber EQ wf_addr_no.
IF sy-subrc = 0.
p_add = wf_addr.
ENDIF.
*----Another metheod -*
PARAMETERS: p_add(50) TYPE c.
Data: it_receivers LIKE somlreci1 OCCURS 0 WITH HEADER LINE.
IF p_add IS NOT INITIAL.
CLEAR it_receivers.
IF p_user = c_x.
it_receivers-rec_type = 'B'. "SAP-Username
ELSEIF p_dl = 'X'.
it_receivers-rec_type = 'C'. "Distribution list
ELSEIF p_int = 'X'.
it_receivers-rec_type = 'U'. "Internet Address
ENDIF.
it_receivers-receiver = p_add.
it_receivers-express = 'X'.
APPEND it_receivers.
ENDIF. -
Is there a maximum number of e-mail addresses in a group?
imac G5 1.8 Mac OS X (10.4.3)
I have a group of 50 addresses in a group but I am having difficulty in sending a message to them. I get an error message that I can't use the current server and need to chose a new server? Does anybody know what this means. I use mail 2.05 and Road runner.
Thanks
imac G5 1.8 Mac OS X (10.4.3)Hi Cracklin'
Sorry I didn't respond sooner... I thought I was subscribed to this topic, but I guess not.
I'm not sure I entirely understand your question. You're wondering about how to send a bunch of "drafts" that were generated by Serial Mail... is that right?
It's been a while since I've used it, but I think you use Serial Mail again and just re-generate the emails but this time go ahead and send instead of "saving for review." I remember getting pretty comfortable with "saving for review," checking them out, deleting them, trying again, and just going through this process a few times until I had exactly what I wanted. Then I think I deleted all of them, and then just ran Serial Mail one more time but choosing "send" the final time.
I hope that helps (but I imagine you probably figured all of this out by now).
- Terry -
How do I add my new E-Mail address to my iCloud account on my iPhone?
Hey,
A few weeks ago, I changed my Apple ID on iCloud via my computer but I can't update my Apple ID on my iPhone 5s. ITunes won't let me back up my phone to iCloud or install software/App updates.
I need this problem fixing ASAP as I use my iPhone as my main device (E-Mail's, Calendars, Social Media, E.t.c.) for work so what should I do?
Cheers,
Dave.If your device is signed into an old ID that is an earlier version of the ID you want to sign in with, do the following:
If you are using iMessage and FaceTime, make sure you are signed into these services with your current ID. If they are signed into the old ID, go to Settings>Messages>Send & Receive and Settings>FaceTime, tap the ID, sign out, then sign back in with your current ID.
Then temporarily recreate the old ID by going to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID. Click edit next to the primary email account, change it back to your old email address and save the change. (You should not have to verify the old email account so it doesn’t matter if you no longer have access to it.) Now go to Settings>iCloud, turn off Find My iDevice and enter your current password when prompted (even though it prompts you for the password for your old ID). Then save any photo stream photos that you wish to keep to your camera roll (unless you are using iCloud Photo Library). When finished go to Settings>iCloud, tap Sign Out (or Delete Account if you are not running iOS 8) and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud). Next, go back to https://appleid.apple.com and change your primary email address back to the way it was. Now you can go to Settings>iCloud and sign back in with your current iCloud ID and password (your data will download back to your device). -
Can I add a second e-mail address to my iCloud account?
I already have an iCloud account with one email account. Can I add a new email account?
No. Each iCloud account only has a single iCloud email account. (You can add additional alias addresses within this account but they will all deliver email to the existing inbox.)
-
How can I add a third e-mail address to a submit button?
Right now it's only limited to two addresses.
The form in question is here: http://www.ucmexus.ucr.edu/resources/Final_Narrative_Report_CONACYT.pdf
I need to add a third person to the existing addresses in the submit button.
Using Acrobat X Pro.To bcc out of acrobat is going to be very tricky as you will have to run a script in order for the form to identify the bcc line. It will look something like the following. You will have to pair this script with a button to intialize the event script. I will chaeck and see if there is a script for acrobat but your best bet is to go the livecycle route.
form1.#subform[0].Email::initialize - (JavaScript, client)
// add names and email addresses to the "To", "CC" and "BCC" lists
var recipientList = new Array(new Array("John", "[email protected]"), new Array("Lisa", "[email protected]"),
new Array("Paul", "[email protected]"), new Array("Steve", "[email protected]"), new Array("Tracy", "[email protected]"));
To.clearItems();
CC.clearItems();
BCC.clearItems();
for (var i = 0; i < recipientList.length; i++)
To.addItem(recipientList[i][0], recipientList[i][1]);
CC.addItem(recipientList[i][0], recipientList[i][1]);
BCC.addItem(recipientList[i][0], recipientList[i][1]);
form1.#subform[0].Email.BCC::change - (JavaScript, client)
var email = this.boundItem(xfa.event.newText); // get recipient email address
var newSubject = null; // set this to a new subject if you want
var emailSubmitNode = FindSubmitNode(EmailSubmitButton);
if (emailSubmitNode)
function FindSubmitNode(button)
if (button == null)
return null;
var eventList = button.resolveNodes("event");
for (var i = 0; i < eventList.length; i++)
var eventNode = eventList.item(i);
if (eventNode.activity == "click")
// found the click event -- look for the child <submit> node
if (eventNode.submit != null)
return eventNode.submit;
return null;
form1.#subform[0].Email.CC::change - (JavaScript, client)
var email = this.boundItem(xfa.event.newText); // get recipient email address
var newSubject = null; // set this to a new subject if you want
var emailSubmitNode = FindSubmitNode(EmailSubmitButton);
if (emailSubmitNode)
function FindSubmitNode(button)
if (button == null)
return null;
var eventList = button.resolveNodes("event");
for (var i = 0; i < eventList.length; i++)
var eventNode = eventList.item(i);
if (eventNode.activity == "click")
// found the click event -- look for the child <submit> node
if (eventNode.submit != null)
return eventNode.submit;
return null;
form1.#subform[0].Email.Send::click - (JavaScript, client)
function GetEmailList(listField)
var emailList = "";
for (var i = 0; i < listField.length; i++)
if (listField.getItemState(i))
// item is selected -- append its email address to the email list
if (emailList.length == 0)
emailList = listField.getSaveItem(i);
else
emailList += "," + listField.getSaveItem(i);
return emailList;
function FindSubmitNode(buttonField)
if (buttonField == null)
return null;
var childList = buttonField.nodes;
for (var i = 0; i < childList.length; i++)
var childNode = childList.item(i);
if (childNode.className == "event" && childNode.activity == "click")
// found the click event -- look for the child <submit> node
if (childNode.submit != null)
return childNode.submit;
return null;
if (To.rawValue == null)
xfa.host.messageBox("Please choose a primary recipient in the 'To' field.");
else
var submitNode = FindSubmitNode(EmailSubmitButton);
if (submitNode)
var toList = GetEmailList(To);
var ccList = GetEmailList(CC);
var bccList = GetEmailList(BCC);
var newTarget = "mailto:" + toList;
var optionList = new Array();
if (ccList.length > 0)
optionList.push("cc=" + ccList);
if (bccList.length > 0)
optionList.push("bcc=" + bccList);
if (Subject.rawValue != null && Subject.rawValue.length > 0)
optionList.push("subject=" + Subject.rawValue);
if (Body.rawValue != null && Body.rawValue.length > 0)
optionList.push("body=" + encodeURIComponent(Body.rawValue));
for (var i = 0; i < optionList.length; i++)
if (i == 0)
// special case for the first option: a "?" must separate the options
// from the recipient ("to") list
newTarget += "?" + optionList[i];
else
newTarget += "&" + optionList[i];
console.println("before: " + submitNode.target);
// set the email submit button's new target information
submitNode.target = newTarget;
console.println("after: " + submitNode.target);
// execute the email submit button with the new target information
EmailSubmitButton.execEvent("click");
else
xfa.host.messageBox("Unable to configure email submit button!"); -
How do I add a second E-mail address to this computer
I added a second gmail address for my wife on this computer.
How do I access this address and add it to the menu bar where the Inbox for my address appears?You should be able to add it using a similar method to how you added your own.
If you are talking about opening two accounts at the same time.
You may have problems if you then try to open both accounts at the same time. It may open a window again for the logged in account. If that is a problem try ripening the second account using Private Browsing (PB).
* [[Private Browsing - Browse the web without saving information about the sites you visit]]
If you are talking only about the option to use the auto form fill then all you should need to do is enter the relevant text and use it once and it will show up in future. You must save history and not be in PB for this to work. (So you may have the problem because of the workaround above and have only used your wife's account in PB ). -
How to Register Mobile Number or E-mail address on iMessage
I have been trying to send message to my friends who have iPhone, iPad, iPod and MacBook Pro, but iMessage always gives me a message "This number is not registered' Could you please specifilcy answer my questioin that How I can register numbers on iMessage? Thanks in advnace
use below table to find out who send ,when ,receipt,,,name
SOES SAPoffice: External send operation
SOOD SAPoffice: Object definition
SOOS SAPoffice: send process -
Can I add a second e-mail address to my computer for a workmate
We have a new employee who does not yet have his own computer. I've set up web mail for him with GoDaddy. Can I set him up on my computer with a shortcut to get his e-mail here temporarily?
Not sure what you're trying to achieve. Isn't webmail good enough as a temporary solution?
-
Add another e mail address to my apple id
I wish to add a second e mail address to myiMac without opening a second account
Mail > Preferneces > Accounts > click + on bottom left
Maybe you are looking for
-
Hi. The iPhone 3G has 4.2.1 which iCloud doesn't support. It means my Contacts on the iPhone 3G can't be synced to my iMac because Mountain Lion gets the updated Contacts from iCloud. If I'll buy the iPhone 5 (assuming it great beyond expectations. A
-
Lost my library while switching over to an external hard drive but...
I was able to restore all my purchased items when I hook my I-pod up to the PC. I have not resynced my I-pod since so all my music and playlists are still intact on the I-Pod. Is there a way to tranport all that back into my very empty library? I cop
-
Problem with clientgen task in weblogic 9.0
hi, While developing webservices for our project, we used the clientgen ant task for generating the artifacts on the client side. I'm getting trouble in returning a collection of objects (list, vector) from the server to the client. When i try to do
-
What is needed for the Student Discount?
Hi, ordering (Well, my parents are. Im just helping) a Mac book soon for my brother who attends NJIT. What would I need to do to obtain the student discount? Is there anything I would need from my brother such as student id or something like that or
-
No USB Functionality After Coming Out of Standby Mode - Windows XP SP2
I currently use my MacBook with Boot Camp to run Windows XP SP2 (as the default boot OS). I have enabled standby so that I can save battery power. However, whenever I come out of standby, it seems as if the USB ports no longer work. Sometimes I'll ha