Modify ↓
Opened 17 years ago
Closed 17 years ago
#2122 closed defect (wontfix)
Check that your CC recipients are actually getting the email.
Reported by: | Owned by: | nextime | |
---|---|---|---|
Priority: | normal | Component: | TicketRemindScript |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description
I used your code as a base for a script to send email to each ticket holder so I won't uncategorically state that your script has an error, just that it probably does.
The smptlib.sendmail method delivers the message body (param 3) to only those recipients included in the To parameter (param 2) - so if you want the CC folks to get the email you need to also include them in param 2.
Eg: s.sendmail(mailmsgFrom?, mailmsgTo? + ',' + mailmsgCc?, mailmsg.as_string())
You probably want error checking to ensure that mailmsgCc? has content.
Attachments (0)
Change History (3)
comment:1 Changed 17 years ago by
Owner: | changed from nextime to anonymous |
---|---|
Status: | new → assigned |
comment:2 Changed 17 years ago by
Owner: | changed from anonymous to nextime |
---|---|
Status: | assigned → new |
comment:3 Changed 17 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Good hint, thanks. I don't really need this feature, so, if someone will ask me to put Cc in the s.sendmail() method i will do it, but for the moment i will simply write two lines about this on the script page.