Jump to content

Recommended Posts

Posted

Morning,

 

Got an ICT Teacher trying to spice up his module, want's to get kids to send an email to a designated email address, which will automatically reply with with an attachment (a picture). The students use the picture in the next stage of the module.

 

The thing is, i can't see a simple way of doing an auto-reply with an attachment. Understandably, the feature isn't an orthodox one in email services/clients. I've tried doing it in Thunderbird Portable, using a template email, but it seems to mix up the mime type when sending, so doesn't go through.

 

Anybody done something simple to auto-reply to messages with an attachment? I can run the client program from my machine for the couple of weeks that he needs it.

 

 

Thanks all.

Posted

Do you use Outlook? Or does it have to be a seperate program?

 

If outlook, you could always create a new email account, make a default reply template, and rule to auto reply to anyone who sends to the email?

 

Steve

Posted (edited)

You can do this with python.

 

Through a combination of the email and poplib/smtplib modules. The email link below gives samples eg. of how to send the entire contents of a directory as an email message.

 

18.1.11. email: Examples — Python v2.7.1 documentation

20.12. smtplib ? SMTP protocol client — Python v2.7.1 documentation

20.9. poplib ? POP3 protocol client — Python v2.7.1 documentation

Edited by somabc
Posted

@Steve21: I've had a play with Thunderbird to do template replies, but that's not going through. I'll have a play with Outlook at the weekend.

@Caffrey: I suggested that to him, but he'd like to do the attachment, and he's the only ICT teacher i've met who is enthusiastic about IT, so i try to support him on the little extras where i can.

 

@somabc: If i can't do outlook, it's time to breakout my scripting hat.

 

Thanks all

Posted
I'll have a play with Outlook at the weekend.

 

Create a new email as if you were going to send one. (Make it pretty with your reply image)

File -> Save As, Change to outlook template.

 

Rules -> New Rule

Apply rule on messages I recieve

Choose rule (aslong as it'll apply to you, aka "sent only to me" or something like that)

Reply using specific template (select the one you made above)

 

Turn it on,

 

Should work :p

 

Steve

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...