WebFaction
Community site: login faq

Hi,

I'm coding with django.

How do I dynamically create and delete email addresses? Users of my website will create about 100 email addresses/day. The email address is a one time use. When the email address receives it's first email, the email address will be deleted. So at any given time there won't be more than 200 email addresses under my account.

It sounds weird, but trust me this is what I need to do for a certain application.

Thanks! Benjamin

asked 16 Mar '11, 17:26

benjamin
1146
accept rate: 0%

edited 16 Mar '11, 17:49


You can use our control panel API to create email addresses, as shown here: Creating an Email Address

Also, I should note that our Terms of Service prohibit you from using our email services as a general email service accessible by the public. Based on your description, it doesn't sound like you'll be doing that, but you might want to review our TOS and AUP just to be sure. Thanks!

permanent link

answered 16 Mar '11, 17:48

seanf
12.2k31836
accept rate: 37%

Thanks!!!!

Now...how do I delete the email address?

(16 Mar '11, 18:14) benjamin
(16 Mar '11, 18:17) seanf

One other question. First I have to login...

server.login('username', 'password')

After I create the email address and target, do I need to logout for any reason? I didn't see any mention of this.

(22 Mar '11, 01:06) benjamin

Hi Benjamin,

Closing the terminal will close the session or waiting for a period will allow the session to timeout.

(22 Mar '11, 01:09) klynton

Thanks Klynton,

So there's no command for closing a session? ...and/or no reason?

(22 Mar '11, 01:22) benjamin

There's no command because closing the terminal or pressing Control-C or Control-D will do exactly that for you.

(22 Mar '11, 01:28) klynton
showing 5 of 6 show 1 more comments
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×259
×15
×10
×9
×3

question asked: 16 Mar '11, 17:26

question was seen: 4,773 times

last updated: 22 Mar '11, 01:28

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM