prescript-delay)
(let ((from (format "%s:%s:%s" server user port))
(mail-source-string (format "pop:%s@%s" user server))
- (process-environment (append (list (concat "MAILHOST=" server))
- process-environment))
+ (process-environment (if server
+ (append (list (concat "MAILHOST=" server))
+ process-environment)
+ process-environment))
result)
(when (eq authentication 'password)
(setq password
(mail-source-bind (pop source)
(let ((from (format "%s:%s:%s" server user port))
(mail-source-string (format "pop:%s@%s" user server))
- (process-environment (append (list (concat "MAILHOST=" server))
- process-environment))
+ (process-environment (if server
+ (append (list (concat "MAILHOST=" server))
+ process-environment)
+ process-environment))
result)
(when (eq authentication 'password)
(setq password