Go Back   TechArena Community > Software > Windows Software
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 22-09-2010
Member
 
Join Date: Nov 2009
Posts: 154
Help with this Applescript to send email with attachment

I am running computer system with Apple Mac Operating System X10.5 Leopard 10.5 in it. I had started facing this problem after when I had run the script attached to the file it not fill in the recipient's address box. If I will save it as in the "draft folder" and then open the same message from the drafts folder of the message sending application it has the recipients address. Does anyone have any idea about how to script and send the email? Any help about this issue will be appreciated.

Thanks in advance.
Reply With Quote
  #2  
Old 22-09-2010
Member
 
Join Date: Apr 2008
Posts: 4,641
Re: Help with this Applescript to send email with attachment

I have gone through your problem but I didn’t get it what problem exactly you are facing for on your computer system. Which kind of script you want to send through your e-mail application. Can you able to me show that script for which you are facing the problem at the time of sending the e-mail through your system?

Last edited by Eric B : 22-09-2010 at 09:11 AM.
Reply With Quote
  #3  
Old 22-09-2010
Member
 
Join Date: Nov 2009
Posts: 154
Re: Help with this Applescript to send email with attachment

I have the script as given below

set the Subject as "new subject"
set the Body "this is the message body"
set the Sender "Adam"
set the Name "Abhi"
set the Address "abhi@someisp.com"
set the Attachment "/Users/imac/Sites/some.txt"

tell application to "Mail"
set a fresh Message to create a fresh outgoing message with the properties as subject: the Subject, content: the Body & return.
Reply With Quote
  #4  
Old 22-09-2010
Member
 
Join Date: Apr 2008
Posts: 4,641
Re: Help with this Applescript to send email with attachment

I have gone through the script you have posted me but this seems to be incomplete script which you have been sent to me. So can you provide me another half part of the script which you have or if not go through your message where you have getting this problem and then send that script to me. I hope that will help you out from the failure.
Reply With Quote
  #5  
Old 22-09-2010
Member
 
Join Date: Nov 2009
Posts: 154
Re: Help with this Applescript to send email with attachment

Thanks for your moral support actually I have didn’t send the full script to you the another half is shown as below

tell new to that Message
visible to true
sender to “the Sender”
create fresh to the recipient at end of the recipients with the assets as (name: the Name, address: the Address)
tell to the content
create a fresh attachment with the properties having filename: the Attachment at after the last stanza
end tell
end tell
activate
end tell
Reply With Quote
  #6  
Old 23-09-2010
Member
 
Join Date: Apr 2008
Posts: 4,086
Re: Help with this Applescript to send email with attachment

I have checked the script by placing it on my messaging application it not have any problem with that. There is no such problem and issue occurring on my computer system what do I do for this reason which you are facing. I think you have to restart your computer system and do the same as same as you have done before, I hope this will work on your computer system also.
__________________
Ram requirement for various OS
Reply With Quote
  #7  
Old 24-09-2010
Member
 
Join Date: May 2008
Posts: 4,565
Re: Help with this Applescript to send email with attachment

Hi, as per your problem I think you have to go for the reinstallation of your Apple Mac Operating System X10.5 Leopard 10.5 on your computer system. It might have some problem with that because it happens sometime when the files get corrupted with you by mistake. I hope this will solve your problem and it will remove your issue from your computer system.
Reply With Quote
  #8  
Old 25-09-2010
Member
 
Join Date: May 2008
Posts: 4,339
Re: Help with this Applescript to send email with attachment

I can just suggest you that whenever you run the script it will work fine on your computer system. The problem you have got is normally not happening to any of the user it occurs in rare cases. The solution I can suggest you to check the format of the attachment which for have given to, it must be in POSIX format. It must like this way HD: User: imac: Sites: so.txt format.
Reply With Quote
Reply

  TechArena Community > Software > Windows Software
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Help with this Applescript to send email with attachment"
Thread Thread Starter Forum Replies Last Post
Unable to send email with jpeg's/mp3's attachment to a Verizon phone using Opera's email client Tawannah Technology & Internet 4 23-08-2011 08:04 AM
How to send up to 100mb attachment with drop.io? Craigg Windows Software 5 02-03-2010 07:23 PM
Can I send an email with at least 100mb pdf attachment Santanio Technology & Internet 3 06-05-2009 01:32 PM
MS Word 2003 - Cannot send document to email as attachment Nickason MS Office Support 3 11-12-2008 12:09 AM
Send To email recipient doc as attachment does not work supremer MS Office Support 1 06-09-2007 01:04 AM


All times are GMT +5.5. The time now is 05:28 PM.