Modify

Opened 7 years ago

Closed 7 years ago

#2122 closed defect (wontfix)

Check that your CC recipients are actually getting the email.

Reported by: robyn@… 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 7 years ago by anonymous

  • Owner changed from nextime to anonymous
  • Status changed from new to assigned

comment:2 Changed 7 years ago by anonymous

  • Owner changed from anonymous to nextime
  • Status changed from assigned to new

comment:3 Changed 7 years ago by nextime

  • Resolution set to wontfix
  • Status changed from new to closed

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.

Add Comment

Modify Ticket

Action
as closed The owner will remain nextime.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.