Hello Lars,

I modifed my defadvice to:

,----
| (defadvice smtpmail-via-smtp
|   (before smtpmail-via-smtp-ad-change-smtp (recipient
|                                             smtpmail-text-buffer
|                                             &optional ask-for-password))
|   "Call `change-smtp' before every `smtpmail-via-smtp'."
|   (with-current-buffer smtpmail-text-buffer (change-smtp)))
`----

This and changing the gmail smtp port to 465 make my gnus work with
multiple accounts.

Thanks for the help and Regards,
Prateek


Lars Magne Ingebrigtsen <[email protected]> writes:

> Prateek Sadhukhan <[email protected]> writes:
>
>> byte-code: Wrong number of arguments: #[(recipient
>>  smtpmail-text-buffer) "Ãr qˆÄ ˆ)Å Ã#‰)‡"
>>  [ad-return-value smtpmail-text-buffer recipient nil change-smtp
>>  ad-Orig-smtpmail-via-smtp] 5 #("Advice doc string" 0 17
>>  (ad-advice-info smtpmail-via-smtp))], 3
>
> This means that you have some defadvice around an smtpmail.el function
> that's no longer valid.
_______________________________________________
info-gnus-english mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to