Automator Service to Upload to FTP and Send Email With Links
Hello.
Since updating my client server machines at work to 10.7, the automator workflow that I have been using for years isn't working correctly. Basically it's a simple workflow that uses upload to FTP action version 1.5 that uploads a video file to an FTp server, copies the links to the clipboard, creates new mail message and sends it.
For some reason, it only does 1 file at a time now. Interestingly, it uploads the files to the server but only sends the email with the first link this worked perfectly fine on 10.6 Before you could highlight 10 files and it would upload and send the links to all of them.
Basically, I think it's the upload to FTP action that is causing the problems. I need applescript to upload to the FTP and copy the url's and send the email. See attached screenshot of the workflow. I'm an applescript newbie so any help would be great.
I don't know what is calling your function, but you should read the file before your call to the function and pass the contents as a byte array argument. You can process the byte array like you already do in your function.
Regards,
Marco
Similar Messages
-
Will Apple lock my acct, send me email with link to register again requiring Social Security #? How do I verify request is from Apple?
Forward Apple Phishing emails to: <[email protected]>
-
How to create a service to UPLOAD / DOWNLOAD and send emails with files?
Good afternoon!
I need to create a service that sends files via email or FTP, and a service to upload / download files on a server.
I see on the internet does not have much aid to make it in the ADF.
Could someone send me some links, documentation, so I can get the job done?
Thank you,
Lewis."I see on the internet does not have much aid to make it in the ADF." - You are kidding - do you?!
1) Google: ADF Faces file upload
2) Google: ADF Faces image download
3) Google: ADF send mail
I get all the relevant hits (documentation and blog entries) by using these 3 queries in Google.
If you mean "Web Service" by "Service" then better - just Google for Web Service and image handling to find information on this. You don't use ADF to build Web Services, which is why you need to express your search criteria different
Frank -
hi experts
how do i send email from a program with a link to transaction with the transaction parameters
thanks
amitHi
refer this ,a very good material in SCN regarding your question.
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/db03523c-0a01-0010-d2a4-a462d386cb3d
regards
Sachin -
Storing files on an iPhone and sending email with attachments
Can documents, such as PDF files, be stored on an iPhone and sent as attachments via email? The Windows mobile 6.5 makes this process very easy.
LivingstonGlen wrote:
Can documents, such as PDF files, be stored on an iPhone and sent as attachments via email? The Windows mobile 6.5 makes this process very easy.
Since it can be done on an iPad and iPod touch, I see no reason why it couldn't be done on an iPhone. -
Workflow to send email with link to another list
First it should not matter that I want to link to another list. In the e-mail, I put the link of the list like this:
<a href=http://mysite/mylist/EditForm.aspx?ID=[%Current Item:ID%]>Click Here</a>
Of course, the names have changed to protect me... :-)
What I am getting is:
<a href=http://mysite/mylist/EditForm.aspx?ID=<http://mysite/mylist/EditForm.aspx?ID=9>Click Here</a>
So, instead of just the current ID number, I am getting the complete link.
How can I fix that?
Is there any way to get to a list item by the title instead of the ID?
Thanks!
David L. CrooksHi David,
In the email you do not need <a> tags. You can just use the hyperlink action to add the link to the text. See screen shot below.
Hope this helps.
Regards, Kapil ***Please mark answer as Helpful or Answered after consideration*** -
Converting html file into zip file and send email attaching zip file
Hi Experts,
I am trying to send email with attachment(html). Which contains more than 7MB. So, It is throwing an error like Size exceeded.
So, Now i need to compress the data for less than 7MB.
I decided to convert HTML File into ZIP File.
Kindly suggest me to convert the HTML file into ZIP file and sending email with attached ZIP file.
Correct answer rewarded,
Thanks & Regards,
N. HARISH KUMARHi Experts,
*// HTML_TAB converting into ZIP File
DATA : zip_tool TYPE REF TO cl_abap_zip,
filename TYPE string ,
filename_zip TYPE string .
DATA : t_data_tab TYPE TABLE OF x255,
bin_size TYPE i,
buffer_x TYPE xstring,
buffer_zip TYPE xstring.
filename = text-007. "'HTML_TAB
*describe the attachment
DESCRIBE TABLE html_tab LINES tab_lines.
bin_size = tab_lines * 255.
CALL FUNCTION 'SCMS_BINARY_TO_XSTRING'
EXPORTING
input_length = bin_size
IMPORTING
buffer = buffer_x
TABLES
binary_tab = html_tab.
IF sy-subrc <> 0.
* message id sy-msgid type sy-msgty number sy-msgno
* with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
*create zip tool
CREATE OBJECT zip_tool.
*add binary file
CALL METHOD zip_tool->add
EXPORTING
name = 'FSSAI_MAIL.HTML'
content = buffer_x.
*get binary ZIP file
CALL METHOD zip_tool->save
RECEIVING
zip = buffer_zip.
CLEAR: t_data_tab[],bin_size.
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
buffer = buffer_zip
IMPORTING
output_length = bin_size
TABLES
binary_tab = html_tab.
Thanks & Regards,
N. HARISH KUMAR -
How do I use my iPhone's hot spot to send email with Mail ?
Hi,
My land line is dead ... so no phone nor internet at home. But I can use my iPhone'hot spot to get on the web from my iMac. Great ... it works !
Oups ! I cannot send email from my computer using my iPhone's hot spot with Mail.
How do I do that ?
Regards.
Robert LespéranceHi Templeton Peck,
Thanks for droping in my thread ...
Doesn't the fact that I can surf the web with my iPhone's hot spot and that I cannot use Mail normally has I normally do give you a clue what the problem could be ?
What other information can I give you other than normally I can surf and send email with my regular ISP. Now that my ISP is dead I am using my iPhone's hotspot to surf the web awaiting that my ISP's connoection returns. Surfing is OK but I cannot send emails with through Mail.
When I want to send an email from my computer, I get a message asking me to select the the SMTP server. Then I select my usual ISP server, but the message comes back telling me it does not work.
Is there any other configuration to do ? -
Sending email with 2 attachments in PDF Format
Hi,
I have 2 ALV Layouts, totally different in Structure.
Now I need to convert these 2 ALV layout to 2 different PDF files and send email with thses 2 attachments.
Can anyone provide me with sample report.
I tried searching for it but there is no clue for ALV report-> PDF -> email.
Thanks
MohanHello,
I doubt if you really searched before posting. You will find many posts indicating how to convert your report output be it ALV or classical into spool and then in to pdf. After you get the pdf binary format, its pretty much the same attaching those and sending E-mail
Vikranth -
Send email with attachments from oracle procedure
This is my procedure
CREATE OR REPLACE PROCEDURE send_parvo_email IS
v_header varchar2(200);
v_file UTL_FILE.FILE_TYPE;
v_count Number;
v_letter Varchar(50);
req UTL_HTTP.REQ;
req1 UTL_HTTP.REQ;
resp UTL_HTTP.RESP;
resp1 UTL_HTTP.RESP;
url VARCHAR2 (2000);
url1 VARCHAR2 (2000);
val varchar2(4000);
val1 varchar2(4000);
p_start_date DATE;
p_end_date DATE;
v_shipment_id varchar2(30);
--v_start_date DATE;
--v_end_date DATE;
Cursor C1 is select shipment_id
from ship_hdr
where trunc(create_time) = trunc(sysdate);
BEGIN
v_letter := 'r_parvo_b19_rpt';
select trunc(sysdate-7),trunc(sysdate-2)
into p_start_date,p_end_date
from dual;
Open C1;
Fetch C1 into v_shipment_id;
Close C1;
save_parvo_email;
UTL_HTTP.SET_PROXY (null,null);
url :=
utl_url.ESCAPE
( 'http://hbc-maroon.heartlandbc.org/reports/rwservlet?userid=test/[email protected]&subject="Parvo Testing Report"&destype=mail&FROM=[email protected]&desname=[email protected]&desformat=PDF&ENVID=QA&report='||v_letter||'&start_date='||p_start_date||'&end_date='||p_end_date);
req := UTL_HTTP.BEGIN_REQUEST (url);
UTL_HTTP.SET_HEADER (req, 'User-Agent', 'Mozilla/4.0 Oracle');
resp := UTL_HTTP.GET_RESPONSE (req);
UTL_HTTP.READ_LINE (resp, val, TRUE);
UTL_HTTP.END_RESPONSE (resp);
Update ship_dtl
set shipment_printed = 'Y'
where shipment_printed is null
and trunc(coll_date) between p_start_date and p_end_date;
commit;
END;
This works fine and sends email with the report as attachment. The attachment is report_name.pdf. I want to change this attachment to be named as shipment_id.pdf. Is this possible and how?
If there is any other method to sent email with attachments . ie run the report and attach the report to the email not as report_name.rdf but shipmenmt_id.rdfThis is my procedure
CREATE OR REPLACE PROCEDURE send_parvo_email IS
v_header varchar2(200);
v_file UTL_FILE.FILE_TYPE;
v_count Number;
v_letter Varchar(50);
req UTL_HTTP.REQ;
req1 UTL_HTTP.REQ;
resp UTL_HTTP.RESP;
resp1 UTL_HTTP.RESP;
url VARCHAR2 (2000);
url1 VARCHAR2 (2000);
val varchar2(4000);
val1 varchar2(4000);
p_start_date DATE;
p_end_date DATE;
v_shipment_id varchar2(30);
--v_start_date DATE;
--v_end_date DATE;
Cursor C1 is select shipment_id
from ship_hdr
where trunc(create_time) = trunc(sysdate);
BEGIN
v_letter := 'r_parvo_b19_rpt';
select trunc(sysdate-7),trunc(sysdate-2)
into p_start_date,p_end_date
from dual;
Open C1;
Fetch C1 into v_shipment_id;
Close C1;
save_parvo_email;
UTL_HTTP.SET_PROXY (null,null);
url :=
utl_url.ESCAPE
( 'http://hbc-maroon.heartlandbc.org/reports/rwservlet?userid=test/[email protected]&subject="Parvo Testing Report"&destype=mail&[email protected]&[email protected]&desformat=PDF&ENVID=QA&report='||v_letter||'&start_date='||p_start_date||'&end_date='||p_end_date);
req := UTL_HTTP.BEGIN_REQUEST (url);
UTL_HTTP.SET_HEADER (req, 'User-Agent', 'Mozilla/4.0 Oracle');
resp := UTL_HTTP.GET_RESPONSE (req);
UTL_HTTP.READ_LINE (resp, val, TRUE);
UTL_HTTP.END_RESPONSE (resp);
Update ship_dtl
set shipment_printed = 'Y'
where shipment_printed is null
and trunc(coll_date) between p_start_date and p_end_date;
commit;
END;
This works fine and sends email with the report as attachment. The attachment is report_name.pdf. I want to change this attachment to be named as shipment_id.pdf. Is this possible and how?
If there is any other method to sent email with attachments . ie run the report and attach the report to the email not as report_name.rdf but shipmenmt_id.rdf -
Send email with PDF attachements (Smartform/SAP script)
Hello All,
I have 3 existing programs A, B & C whose output is in SAP Script/Smartform. Now I need to create new program D which needs to execute program A, B & C and then convert their smartform/SAP script output into PDF format and send email with attachements (PDF files). Any pointers how I can proceed. Thanks a lot.hi Sarita,
v_ctrlparams-no_dialog = 'X'.
v_ctrlparams-getotf = 'X'.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'Smartform name'
IMPORTING
fm_name = v_func_mod.
CALL FUNCTION v_func_mod
EXPORTING
control_parameters = v_ctrlparams
IMPORTING
job_output_info = v_joboutput
TABLES
t_nonsigner = t_nonsigner.
fill the document
doc_chng-obj_name = 'Descriptoipn'.
Fill the subject line
doc_chng-obj_descr = 'Manpowe'.
doc_chng-obj_descr = 'Reminder .
doc_chng-sensitivty = 'P'.
Fill the content of the mail
objcont = 'Dear all,'.
APPEND objcont.
CLEAR objcont.
APPEND objcont.
CLEAR objcont.
objcont =
'The manpower sign-off is pending for the list of employees as per th' &
'e attached sheet.'
APPEND objcont.
CLEAR objcont.
APPEND objcont.
CLEAR objcont.
objcont =
'Please click on the following link for the manpower sign-off:'.
APPEND objcont.
CLEAR objcont.
APPEND objcont.
CLEAR objcont.
DESCRIBE TABLE objcont LINES entries.
READ TABLE objcont INDEX entries.
doc_chng-doc_size = ( entries - 1 ) * 255 + STRLEN( objcont ).
Creating the entry for the compressed document
CLEAR objpack-transf_bin.
objpack-head_start = 1.
objpack-head_num = 0.
objpack-body_start = 1.
objpack-body_num = entries.
objpack-doc_type = 'RAW'.
APPEND objpack.
Creating the document attachment
(Assume the data in OBJBIN are given in BMP format)
LOOP AT v_joboutput-otfdata INTO wa_otfdata.
APPEND wa_otfdata TO objbin.
CLEAR wa_otfdata.
ENDLOOP.
DESCRIBE TABLE objbin LINES tab_lines.
objhead = 'NonSignerDetails.otf'. APPEND objhead.
Creating the entry for the compressed attachment
objpack-transf_bin = 'X'.
objpack-head_start = 1.
objpack-head_num = 1.
objpack-body_start = 1.
objpack-body_num = tab_lines.
objpack-doc_type = 'OTF'.
objpack-obj_name = 'ATTACHMENT'.
objpack-obj_descr = 'NonSignerDetails'.
objpack-doc_size = tab_lines * 255.
APPEND objpack.
Sending the document
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = doc_chng
put_in_outbox = 'X'
commit_work = 'X'
TABLES
packing_list = objpack
object_header = objhead
contents_bin = objbin
contents_txt = objcont
receivers = reclist
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
operation_no_authorization = 4
OTHERS = 99.
hope this will help u..
regards,
Santosh Thorat -
I need a perl script (or something else better) which monitors a network folder and sends email when new files/folders arrived. I tried it in Automator but failed.
Thanks!Yes. I tried it. But whenever I restart m Mac, the watch folder doesn't work until I reconnect to network or run the Automator... I need a simple system that automatically connects to the network and monitor the folder, even I restart the Mac.
Thanks! -
TS3899 Cannot send email with new iPad air. Works fine with old iPad and iPhone.
Cannot send email with new iPad air. Works fine with old iPad and iPhone. I have deleted account and reinstalled.
Thanks. I got the problem fixed. Spent time with the Apple folks and was kicked up to a senior advisor. It seems the problem was with my internet provider - Tmie Warner. Remember I could use the old ipad and the iphone to send mail. I checked all the specifics between the three units. It seems that TW is changing over from the RR.com to TWC.com. Since the new ipad air was just set up, it fell under the new TWC mail specifics.
-
I'm not able to send emails with mail.ru. Receiving is not a problem. Creating a mail is also not a problem and the mail will be stored at mail.ru as still to be send, only problem is its not possible to send. I noticed the buttons for sending change colour when used but they don't perform. What it is?
Don't know what changed, but all of a sudden able to send emails by mail.ru ...... sorry for bothering.
-
Is there a way to disable 'Save as' and 'Send Email' function in Acrobat XI?
Hi,
Is there a way to disable 'Save as' and 'Send Email' function in Acrobat XI?
Thnx in advance.I would hope there would be no way to disable Save AS that would reduce the applicationss capability. What are you trying to prevent happening?
Maybe you are looking for
-
Exchange rate in case of equity and dividend.
Hi experts, I required your help, please see below request and help. I have created a equity (stock) transaction in foreign currency using t.code - TS01 My purchase in USD ( for ex. 10000 USD). At the time of purchase i am able to put an exchange rat
-
can anyone tell me at the bottom of the itunes main screen, on the color graph what does "other' mean?
-
This might have something to do with recent Mac software updates but I can no longer print pics in '08. I get the message "No available themes" "until at least one theme has been installed this feature (printing) is not available" How did this happen
-
Hello, I want to create a vi-file into an exe-file but don't know how to do it with labview 6.1i. Maybe somebody here can give me hints to do it! thank you very much!
-
Problems with old iPhone as iPod
I've been using an old iPhone as an iPod for the last 2-3 months. I've been using iMessages on it and it has been working fine up until today. All of a sudden not getting any iMessages on it. I tried turning off iMessages and then back on...didn't wo