Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 08-28-2023, 06:59 PM   #1
lairdb
dog ear
lairdb began at the beginning.
 
Posts: 53
Karma: 12
Join Date: Jan 2012
Device: lots
Filename for sending via email - revisited

I am revisiting an old thread.

After brief discussion, @kovidgoyal made a change to take the plugboard title into the filename -- but only when sending to Kindle. (Specifically, only when the function is_for_kindle() is true, which depends on certain strings being in the address.)

Quote:
Originally Posted by kovidgoyal View Post
I'd like to revisit that. Between my ISP's anti-spam settings and my email provider's anti-spam settings, I have to use workarounds to send to kindle.com -- but if I send to another address, I don't get the Kindle-formatted filename.

(Yes, get a better ISP and mail provider is one argument, but Comcast is the cable monopoly, and I'd prefer to stick with Microsoft as my email provider.)

Any possibility of letting the user have control via adding the filename as a plugboard target?

Thanks.
lairdb is offline   Reply With Quote
Old 08-28-2023, 09:20 PM   #2
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,188
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
The only recommendation is to open a gmx.com email and follow the faq.

https://manual.calibre-ebook.com/faq...-using-calibre

I personally would ditch Microsoft as an email provider.

Also do not use the same email for work and personal.

bernie
Quote:
Originally Posted by lairdb View Post
I am revisiting an old thread.

After brief discussion, @kovidgoyal made a change to take the plugboard title into the filename -- but only when sending to Kindle. (Specifically, only when the function is_for_kindle() is true, which depends on certain strings being in the address.)



I'd like to revisit that. Between my ISP's anti-spam settings and my email provider's anti-spam settings, I have to use workarounds to send to kindle.com -- but if I send to another address, I don't get the Kindle-formatted filename.

(Yes, get a better ISP and mail provider is one argument, but Comcast is the cable monopoly, and I'd prefer to stick with Microsoft as my email provider.)

Any possibility of letting the user have control via adding the filename as a plugboard target?

Thanks.
gbm is offline   Reply With Quote
Advert
Old 08-28-2023, 09:58 PM   #3
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,059
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
I have Comcast (xfinity) as my Internet/phone service.

I use a different ISP (that I have an account with, but is not in this area) for Mail. Verizion is offering 5G internet to the home. There are alternatives.
theducks is online now   Reply With Quote
Old 08-30-2023, 02:07 PM   #4
lairdb
dog ear
lairdb began at the beginning.
 
Posts: 53
Karma: 12
Join Date: Jan 2012
Device: lots
Quote:
Originally Posted by gbm View Post
I personally would ditch Microsoft as an email provider.

Also do not use the same email for work and personal.
Agreed; I don't, thanks. I have a wholly separate Office365 Enterprise tenant for the house.

Quote:
Originally Posted by theducks View Post
I have Comcast (xfinity) as my Internet/phone service.

I use a different ISP (that I have an account with, but is not in this area) for Mail. Verizion is offering 5G internet to the home. There are alternatives.
There are, but that's added complexity for a fairly singular reason. My suggestion is to remove the voodoo of
Code:
def is_for_kindle(to):
    return isinstance(to, str) and ('@kindle.com' in to or '@kindle.cn' in to or '@free.kindle.com' in to or '@free.kindle.cn' in to)
...and expose that behavior to the user, allowing them to configure to their preference. Hidden magic values are not usually user-friendly.
lairdb is offline   Reply With Quote
Old 08-30-2023, 10:15 PM   #5
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,354
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
just create a free gmx account and use it.
kovidgoyal is offline   Reply With Quote
Advert
Old 09-12-2023, 11:43 AM   #6
hillcountryfare
Member
hillcountryfare began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jul 2023
Device: KPW, Fire Tablet 8
What issues are you having with the filename? I host my own Office 365 tenant for my personal domain, and send files to my kindle.com address from Calibre using Xfinity's SMTP server. I also had this working with Office 365, but it was hosing my Xfinity bandwidth limit because every book I sent ended up in my sent items folder in my mailbox.
hillcountryfare is offline   Reply With Quote
Old 09-14-2023, 02:20 PM   #7
lairdb
dog ear
lairdb began at the beginning.
 
Posts: 53
Karma: 12
Join Date: Jan 2012
Device: lots
Quote:
Originally Posted by hillcountryfare View Post
What issues are you having with the filename? I host my own Office 365 tenant for my personal domain, and send files to my kindle.com address from Calibre using Xfinity's SMTP server.
I'd prefer to have emails come From my correct address.

I was using TWC (now Spectrum) SMTP -- but they recently locked down their SMTP servers to both require authentication and require that the From address matches the authentication.

Microsoft (where my personal domain is hosted) SMTP only allows un-authenticated traffic to on-domain addresses. Calibre only supports basic auth, so I can't use MS SMTP to send directly to kindle.com; I can send to a relay-address on my personal domain, but then I don't get the magic filename treatment.


Quote:
Originally Posted by hillcountryfare View Post
I also had this working with Office 365, but it was hosing my Xfinity bandwidth limit because every book I sent ended up in my sent items folder in my mailbox.
I'd actually prefer that, as TWC doesn't have bandwidth caps, but Calibre only supports basic auth and MS no longer supports basic auth.

Last edited by lairdb; 09-14-2023 at 03:22 PM. Reason: Grammer.
lairdb is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Filename format for Email to dunxd Calibre 9 11-07-2022 12:53 PM
sending email vidicam Library Management 1 11-07-2015 06:16 PM
sending book through email benee16 Apple Devices 1 05-07-2012 02:43 PM
Sending to Kindle via email in 0.8.16 copyrite Devices 2 08-27-2011 10:29 AM
Sending via email fails Moik Calibre 6 07-19-2011 06:55 PM


All times are GMT -4. The time now is 11:37 AM.


MobileRead.com is a privately owned, operated and funded community.