|
|
@@ -103,7 +103,7 @@ generate_email_address() {
|
|
|
username_black_list="- abuse\n- webmaster\n- contact\n- postmaster\n- hostmaster\n- admin"
|
|
|
domains="1secmail.com 1secmail.net 1secmail.org esiix.com wwjmp.com xojxe.com yoggm.com"
|
|
|
|
|
|
- # Randomly pick one of the domains mentiond above.
|
|
|
+ # Randomly pick one of the domains mentioned above.
|
|
|
domain=$(printf "%b" "$domains" | tr " " "\n" | randomize | tail -1)
|
|
|
|
|
|
email_address="$username@$domain"
|
|
|
@@ -206,7 +206,7 @@ view_email() {
|
|
|
data=$(curl -sL "$tmpmail_api_url?action=readMessage&login=$username&domain=$domain&id=$email_id")
|
|
|
|
|
|
# After the data is retrieved using the API, we have to check if we got any emails.
|
|
|
- # Luckly 1secmail's API is not complicated and returns 'Message not found' as plain text
|
|
|
+ # Luckily 1secmail's API is not complicated and returns 'Message not found' as plain text
|
|
|
# if our email address as not received any emails.
|
|
|
# If we received the error message from the API just quit because there is nothing to do
|
|
|
[ "$data" = "Message not found" ] && print_error "Message not found"
|