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: 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 17 years ago by anonymous

Owner: changed from nextime to anonymous
Status: newassigned

comment:2 Changed 17 years ago by anonymous

Owner: changed from anonymous to nextime
Status: assignednew

comment:3 Changed 17 years ago by nextime

Resolution: wontfix
Status: newclosed

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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain nextime.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.